6d0f30503a
Removed the void and reprints report and added it to the bill settlement report updated the import to add a new sql to be executed later to update the settlements and report permission names Export works on all reports
9 lines
801 B
SQL
9 lines
801 B
SQL
update permissions set name = 'Beer Consumption Report' where name = 'Beer Consumption';
|
|
update permissions set name = 'Bill Settlement Report' where name = 'Bill Details';
|
|
update permissions set name = 'Cashier Report' where name = 'Cashier Checkout';
|
|
update permissions set name = 'Product Sale Report' where name = 'Sales Detail';
|
|
update permissions set name = 'Sale Report' where name = 'Sales Analysis';
|
|
update permissions set name = 'Tax Report' where name = 'Tax Analysis';
|
|
delete from role_permissions where permission_id = (select id from permissions where name = 'Void or Reprinted Bill Report');
|
|
delete from permissions where name = 'Void or Reprinted Bill Report';
|
|
update settlements as s set settled = 9 from vouchers v where v.id = s.voucher_id and v.voucher_type = 5 and s.settled = 1; |