// ================== DATATABLE ===================== function getDatatableTexts() { return { sProcessing: polyglot.t("global.datatable.processing"), sLengthMenu: polyglot.t("global.datatable.lenth_menu"), sZeroRecords: polyglot.t("global.datatable.zero_records"), sEmptyTable: polyglot.t("global.datatable.empty_table"), sInfo: polyglot.t("global.datatable.info"), sInfoEmpty: polyglot.t("global.datatable.info_empty"), sInfoFiltered: polyglot.t("global.datatable.info_filtered"), sSearch: polyglot.t("global.datatable.buscar"), sLoadingRecords: polyglot.t("global.datatable.loading_records"), sFirst: polyglot.t("global.datatable.first"), sLast: polyglot.t("global.datatable.last"), sNext: polyglot.t("global.datatable.next"), sPrevious: polyglot.t("global.datatable.previous"), sSortAscending: polyglot.t("global.datatable.sort_ascending"), sSortDescending: polyglot.t("global.datatable.sort_descending") }; } //function getLiteralFormaPago(idFormaPago) (1..24) function getPaymentMethodLiteral(id) { return polyglot.t("purchase_process.payments.method_" + id); } function getLoyaltyPointsLiteral(valor) { return polyglot.t("(amount)_points_abbreviation", { points: valor }); }