Skip to content

Commit

Permalink
fix(i18n): fix default database unit translations
Browse files Browse the repository at this point in the history
Fixes a type on the Analysis of Auxiliary Cashboxes report.

Closes #6511.
  • Loading branch information
jniles committed Apr 15, 2022
1 parent 0962b23 commit ef3c52f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports.report = report;
// default report parameters
const DEFAULT_PARAMS = {
csvKey : 'transactions',
filename : 'REPORT.ANALYSIS_AUX_CASHBOXES.TITLE',
filename : 'REPORT.ANALYSIS_AUX_CASHBOX.TITLE',
orientation : 'landscape',
};

Expand Down
4 changes: 2 additions & 2 deletions server/models/bhima.sql
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ INSERT INTO unit VALUES
(245,'Debtor Summary Report','REPORT.DEBTOR_SUMMARY.TITLE','Debtor summary report',281,'/reports/debtor_summary'),
(246,'Client Debts Report','TREE.CLIENT_DEBTS_REPORT','Client debts report',281,'/reports/client_debts'),
(247,'Client Support Report','TREE.CLIENT_SUPPORT_REPORT','Client support report',281,'/reports/client_support'),
(248,'Analysis of Cashboxes','REPORT.ANALYSIS_AUX_CASHBOXES.TITLE','Analysis of auxiliary cashboxes',281,'/reports/analysis_auxiliary_cashboxes'),
(248,'Analysis of Cashboxes','REPORT.ANALYSIS_AUX_CASHBOX.TITLE','Analysis of auxiliary cashboxes',281,'/reports/analysis_auxiliary_cashboxes'),
(249,'Realized Profit Report','TREE.REALIZED_PROFIT_REPORT','Realized profit report / Collection on Invoicies',281,'/reports/realized_profit'),
(250,'System Usage Statistics','REPORT.SYSTEM_USAGE_STAT.TITLE','System usage statistics',280,'/reports/system_usage_stat'),
(251,'Indexes','TREE.INDEXES','The payroll index',57,'/PAYROLL_INDEX_FOLDER'),
Expand Down Expand Up @@ -242,7 +242,7 @@ INSERT IGNORE INTO `report` (`report_key`, `title_key`) VALUES
('debtor_summary', 'REPORT.DEBTOR_SUMMARY.TITLE'),
('client_debts', 'REPORT.CLIENT_SUMMARY.TITLE'),
('client_support', 'REPORT.CLIENT_SUPPORT.TITLE'),
('analysis_auxiliary_cashboxes', 'REPORT.ANALYSIS_AUX_CASHBOXES.TITLE'),
('analysis_auxiliary_cashboxes', 'REPORT.ANALYSIS_AUX_CASHBOX.TITLE'),
('realized_profit', 'REPORT.REALIZED_PROFIT.TITLE'),
('recovery_capacity', 'REPORT.RECOVERY_CAPACITY.TITLE'),
('system_usage_stat', 'REPORT.SYSTEM_USAGE_STAT.TITLE'),
Expand Down

0 comments on commit ef3c52f

Please sign in to comment.