2019-08-25 09:38:59 +00:00
|
|
|
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';
|
2020-10-24 06:23:12 +00:00
|
|
|
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;
|