mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-27 15:12:21 +01:00
fix: now time set in closing POS
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user