@layout:private.html; @sql:tran; select name, count, cast(cast(value as numeric(15,2))/100 as numeric(15,2)) as value, capacity from cashcontainer where not name like 'Billbox%' and not name like 'Cashbox%' union select 'Billbox' as name, sum(count) as count, 0 as value, 900 as capacity from cashcontainer where name like 'Billbox%' and value > 0 union select 'Cashbox' as name, sum(count) as count, 0 as value, 900 as capacity from cashcontainer where name like 'Cashbox%' and value > 0 order by name; @send;
Stan gotówki w urządzeniu
| Komponent | Ilość | Nominał | Max |
| @{tran:name} | @{tran:count} | @{tran:value} | @{tran:capacity} |