10 lines
802 B
SQL
10 lines
802 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;
|