Skip to content

Commit

Permalink
trans: table row
Browse files Browse the repository at this point in the history
  • Loading branch information
fproldan committed Jan 28, 2022
1 parent be54c37 commit 47075ec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ erpnext.accounts.bank_reconciliation.DataTableManager = class DataTableManager {
format_row(row) {
return [
row["date"],
row["party_type"],
row["party"],
__(row["party_type"]),
__(row["party"]),
row["description"],
row["deposit"],
row["withdrawal"],
Expand Down
14 changes: 7 additions & 7 deletions erpnext/public/js/bank_reconciliation_tool/dialog_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ erpnext.accounts.bank_reconciliation.DialogManager = class DialogManager {
label: __("Action"),
fieldname: "action",
fieldtype: "Select",
options: `Match Against Voucher\nCreate Voucher\nUpdate Bank Transaction`,
default: "Match Against Voucher",
options: `Conciliar con comprobante\nCrear comprobante\nActualizar transacción bancaria`,
default: "Conciliar con comprobante",
},
{
fieldname: "column_break_4",
Expand All @@ -170,7 +170,7 @@ erpnext.accounts.bank_reconciliation.DialogManager = class DialogManager {
fieldtype: "Section Break",
fieldname: "section_break_1",
label: __("Filters"),
depends_on: "eval:doc.action=='Match Against Voucher'",
depends_on: "eval:doc.action=='Conciliar con comprobante'",
},
{
fieldtype: "Check",
Expand Down Expand Up @@ -221,7 +221,7 @@ erpnext.accounts.bank_reconciliation.DialogManager = class DialogManager {
fieldtype: "Section Break",
fieldname: "section_break_1",
label: __("Select Vouchers to Match"),
depends_on: "eval:doc.action=='Match Against Voucher'",
depends_on: "eval:doc.action=='Conciliar con comprobante'",
},
{
fieldtype: "HTML",
Expand All @@ -236,7 +236,7 @@ erpnext.accounts.bank_reconciliation.DialogManager = class DialogManager {
fieldtype: "Section Break",
fieldname: "details",
label: __("Details"),
depends_on: "eval:doc.action!='Match Against Voucher'",
depends_on: "eval:doc.action!='Conciliar con comprobante'",
},
{
label: "Cheque",
Expand Down Expand Up @@ -478,7 +478,7 @@ erpnext.accounts.bank_reconciliation.DialogManager = class DialogManager {
}

reconciliation_dialog_primary_action(values) {
if (values.action == "Match Against Voucher") this.match(values);
if (values.action == "Conciliar con comprobante") this.match(values);
if (
values.action == "Create Voucher" &&
values.document_type == "Payment Entry"
Expand Down Expand Up @@ -515,7 +515,7 @@ erpnext.accounts.bank_reconciliation.DialogManager = class DialogManager {
vouchers: vouchers,
},
callback: (response) => {
const alert_string = "Bank Transaction " + this.bank_transaction.name + " conciliada";
const alert_string = "Transacción bancaria " + this.bank_transaction.name + " conciliada";
frappe.show_alert(alert_string);
this.update_dt_cards(response.message);
this.dialog.hide();
Expand Down

0 comments on commit 47075ec

Please sign in to comment.