mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 14:02:10 +00:00
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",
|
fieldname: "mode_of_payment",
|
||||||
fieldtype: "Link",
|
fieldtype: "Link",
|
||||||
in_list_view: 1,
|
in_list_view: 1,
|
||||||
label: "Mode of Payment",
|
label: __("Mode of Payment"),
|
||||||
options: "Mode of Payment",
|
options: "Mode of Payment",
|
||||||
reqd: 1,
|
reqd: 1,
|
||||||
},
|
},
|
||||||
@@ -38,7 +38,7 @@ erpnext.PointOfSale.Controller = class {
|
|||||||
fieldname: "opening_amount",
|
fieldname: "opening_amount",
|
||||||
fieldtype: "Currency",
|
fieldtype: "Currency",
|
||||||
in_list_view: 1,
|
in_list_view: 1,
|
||||||
label: "Opening Amount",
|
label: __("Opening Amount"),
|
||||||
options: "company:company_currency",
|
options: "company:company_currency",
|
||||||
change: function () {
|
change: function () {
|
||||||
dialog.fields_dict.balance_details.df.data.some((d) => {
|
dialog.fields_dict.balance_details.df.data.some((d) => {
|
||||||
@@ -87,7 +87,7 @@ erpnext.PointOfSale.Controller = class {
|
|||||||
{
|
{
|
||||||
fieldname: "balance_details",
|
fieldname: "balance_details",
|
||||||
fieldtype: "Table",
|
fieldtype: "Table",
|
||||||
label: "Opening Balance Details",
|
label: __("Opening Balance Details"),
|
||||||
cannot_add_rows: false,
|
cannot_add_rows: false,
|
||||||
in_place_edit: true,
|
in_place_edit: true,
|
||||||
reqd: 1,
|
reqd: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user