fix: add label strings for translation in pos_controller.js
(cherry picked from commit bd77a5557d)
This commit is contained in:
@@ -30,7 +30,7 @@ erpnext.PointOfSale.Controller = class {
|
||||
fieldname: "mode_of_payment",
|
||||
fieldtype: "Link",
|
||||
in_list_view: 1,
|
||||
label: "Mode of Payment",
|
||||
label: __("Mode of Payment"),
|
||||
options: "Mode of Payment",
|
||||
reqd: 1,
|
||||
},
|
||||
@@ -38,7 +38,7 @@ erpnext.PointOfSale.Controller = class {
|
||||
fieldname: "opening_amount",
|
||||
fieldtype: "Currency",
|
||||
in_list_view: 1,
|
||||
label: "Opening Amount",
|
||||
label: __("Opening Amount"),
|
||||
options: "company:company_currency",
|
||||
change: function () {
|
||||
dialog.fields_dict.balance_details.df.data.some((d) => {
|
||||
@@ -87,7 +87,7 @@ erpnext.PointOfSale.Controller = class {
|
||||
{
|
||||
fieldname: "balance_details",
|
||||
fieldtype: "Table",
|
||||
label: "Opening Balance Details",
|
||||
label: __("Opening Balance Details"),
|
||||
cannot_add_rows: false,
|
||||
in_place_edit: true,
|
||||
reqd: 1,
|
||||
|
||||
Reference in New Issue
Block a user