fix: now time set in closing POS
This commit is contained in:
parent
526f1d18fb
commit
f6c055cca9
@ -225,6 +225,7 @@ erpnext.PointOfSale.Controller = class {
|
||||
voucher.pos_opening_entry = this.pos_opening;
|
||||
voucher.period_end_date = frappe.datetime.now_datetime();
|
||||
voucher.posting_date = frappe.datetime.now_date();
|
||||
voucher.posting_time = frappe.datetime.now_time();
|
||||
frappe.set_route('Form', 'POS Closing Entry', voucher.name);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user