mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
sync offline sales invoices from the POS
This commit is contained in:
@@ -106,11 +106,15 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
|
|||||||
me.get_data_from_server(function(){
|
me.get_data_from_server(function(){
|
||||||
me.load_data(false);
|
me.load_data(false);
|
||||||
me.make_customer();
|
me.make_customer();
|
||||||
me.make_item_list(false);
|
me.make_item_list(true);
|
||||||
me.set_missing_values();
|
me.set_missing_values();
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.page.add_menu_item(__("Sync Offline Invoices"), function(){
|
||||||
|
me.sync_sales_invoice()
|
||||||
|
});
|
||||||
|
|
||||||
this.page.add_menu_item(__("POS Profile"), function() {
|
this.page.add_menu_item(__("POS Profile"), function() {
|
||||||
frappe.set_route('List', 'POS Profile');
|
frappe.set_route('List', 'POS Profile');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user