cd89994b33
* fix: returns can be made against unconsolidated invoices * fix: indentation * fix: mode of payment not fetching for pos returns * patch: default pos profile print format * fix: tests * chore: clean up retail desk page
15 lines
430 B
JavaScript
15 lines
430 B
JavaScript
/* global Clusterize */
|
|
frappe.provide('erpnext.PointOfSale');
|
|
{% include "erpnext/selling/page/point_of_sale/pos_controller.js" %}
|
|
frappe.provide('erpnext.queries');
|
|
|
|
frappe.pages['point-of-sale'].on_page_load = function(wrapper) {
|
|
frappe.ui.make_app_page({
|
|
parent: wrapper,
|
|
title: __('Point of Sale'),
|
|
single_column: true
|
|
});
|
|
|
|
wrapper.pos = new erpnext.PointOfSale.Controller(wrapper);
|
|
window.cur_pos = wrapper.pos;
|
|
}; |