~[wc:guardian_header]

RevTrak v1.0 ~[text:psx.html.guardian.lunchbal.transactions] ~(studentname)

~(initlunchrunningbalance.student)

~[text:psx.html.guardian.lunchbal.meal_transactions__current_balance]~[if.~(balance1)<0]$~(balance1)[else]$~(balance1)[/if]

~[tlist;gldetail;studentid=~(curstudid);alternatecolor;sortcmd;date;>]
~[text:psx.html.guardian.lunchbal.date] ~[text:psx.html.guardian.lunchbal.time] ~[text:psx.html.guardian.lunchbal.net] ~[text:psx.html.guardian.lunchbal.balance] ~[text:psx.html.guardian.lunchbal.description]
~(date) ~(time) ~(neteffect) ~(runninglunchtotalbalance) ~(transdescription)

~[text]psx.html.guardian.lunchbal.fee_transactions__current_balance,param:~(f.table_info;table=Fee_Balance;*studentid=~(curstudid);*yearID=~(v.curyearid);fn=value;field=Balance;fieldtype=NUM;format=currency)[/text]

~(fee_runningbal_init) ~[tlist;Fee;studentid=~(curstudid);thisyear;thisschool;alternatecolor;sortcmd;DateTime,>]
~[text:psx.html.guardian.lunchbal.date1] ~[text:psx.html.guardian.lunchbal.time1] ~[text:psx.html.guardian.lunchbal.fee_type] ~[text:psx.html.guardian.lunchbal.description1] ~[text:psx.html.guardian.lunchbal.fee] ~[text:psx.html.guardian.lunchbal.paid] ~[text:psx.html.guardian.lunchbal.balance1]
~(date) ~(time) ~(fee_type_name) ~(description) ~(Fee_Amount;round=2;format=currency) ~(Fee_Paid;round=2;format=currency) ~(fee_runningbal_update)~(Fee_Balance;round=2;format=currency)
~[text:psx.html.guardian.lunchbal.totals] ~(fee_runningbal_amount) ~(fee_runningbal_paid) ~(fee_runningbal_bal)
~[wc:guardian_footer]