mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
[pos] POS Invoice print format done
This commit is contained in:
@@ -181,7 +181,7 @@ erpnext.POS = Class.extend({
|
||||
$.each(r.message, function(index, obj) {
|
||||
if (obj.image)
|
||||
image = '<img src="' + obj.image + '" class="img-responsive" \
|
||||
style="border:1px solid #eee;height:140px;width:122px;">';
|
||||
style="border:1px solid #eee;height:140px;width:100%;">';
|
||||
else
|
||||
image = '<div class="missing-image"><i class="icon-camera"></i></div>';
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
|
||||
}
|
||||
}
|
||||
|
||||
if(this.frm.doc.is_pos && this.frm.doc.docstatus===0) {
|
||||
if(this.frm.doc.is_pos) {
|
||||
cur_frm.cscript.toggle_pos(true);
|
||||
}
|
||||
},
|
||||
@@ -93,9 +93,6 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
|
||||
}
|
||||
});
|
||||
});
|
||||
} else {
|
||||
// hide shown pos for submitted records
|
||||
if(cur_frm.pos_active) cur_frm.cscript.toggle_pos(false);
|
||||
}
|
||||
|
||||
if(cint(sys_defaults.fs_pos_view)===1)
|
||||
|
||||
Reference in New Issue
Block a user