You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
MohamedAliSmk
committed
feat(expenses): enhance shift expense management and validation
- Introduced computed properties for shift expense totals and remaining allowances in ExpenseDialog.
- Updated validation logic to check against remaining shift expense allowance instead of maximum expense amount.
- Modified API to return shift expense totals and remaining amounts for better expense tracking.
- Enhanced translations to reflect new shift expense limit messages and summaries.
"Expense Account is required","حساب المصروف مطلوب",""
1581
1581
"Amount must be greater than zero","يجب أن يكون المبلغ أكبر من صفر",""
1582
1582
"Amount exceeds the maximum allowed expense amount of {0}","المبلغ يتجاوز الحد الأقصى المسموح للمصروف {0}",""
1583
+
"Amount exceeds the remaining shift expense allowance of {0}","المبلغ يتجاوز المسموح المتبقي لمصروفات الوردية وهو {0}",""
1584
+
"Shift limit: {0}","حد الوردية: {0}",""
1585
+
"Recorded: {0}","المسجل: {0}",""
1586
+
"Remaining: {0}","المتبقي: {0}",""
1587
+
"This expense would exceed the shift expense limit of {0}. Expenses recorded this shift: {1}. Remaining allowance: {2}","سيؤدي هذا المصروف إلى تجاوز حد مصروفات الوردية البالغ {0}. المصروفات المسجلة في هذه الوردية: {1}. المسموح المتبقي: {2}",""
1588
+
"Shift Expense Limit Exceeded","تم تجاوز حد مصروفات الوردية",""
1583
1589
"Mode of Payment is required","طريقة الدفع مطلوبة",""
Copy file name to clipboardExpand all lines: pos_next/translations/id.csv
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1494,3 +1494,9 @@
1494
1494
"{0} units available in ""{1}""","{0} unit tersedia di ""{1}""",""
1495
1495
"{0} updated","{0} diperbarui",""
1496
1496
"{0}%","{0}%",""
1497
+
"Shift limit: {0}","Batas shift: {0}",""
1498
+
"Recorded: {0}","Tercatat: {0}",""
1499
+
"Remaining: {0}","Sisa: {0}",""
1500
+
"Amount exceeds the remaining shift expense allowance of {0}","Jumlah melebihi sisa tunjangan pengeluaran shift sebesar {0}",""
1501
+
"This expense would exceed the shift expense limit of {0}. Expenses recorded this shift: {1}. Remaining allowance: {2}","Pengeluaran ini akan melebihi batas pengeluaran shift sebesar {0}. Pengeluaran yang tercatat pada shift ini: {1}. Sisa tunjangan: {2}",""
Copy file name to clipboardExpand all lines: pos_next/translations/pt-br.csv
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1515,3 +1515,9 @@
1515
1515
"variants","variantes",""
1516
1516
"{0} updated","{0} atualizado",""
1517
1517
"{0}%","{0}%",""
1518
+
"Shift limit: {0}","Limite do turno: {0}",""
1519
+
"Recorded: {0}","Registrado: {0}",""
1520
+
"Remaining: {0}","Restante: {0}",""
1521
+
"Amount exceeds the remaining shift expense allowance of {0}","O valor excede a margem restante de despesas do turno de {0}",""
1522
+
"This expense would exceed the shift expense limit of {0}. Expenses recorded this shift: {1}. Remaining allowance: {2}","Esta despesa excederia o limite de despesas do turno de {0}. Despesas registradas neste turno: {1}. Margem restante: {2}",""
1523
+
"Shift Expense Limit Exceeded","Limite de Despesa do Turno Excedido",""
0 commit comments