File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 3434 <div class =" text-xs font-normal text-gray-500" >
3535 {{ __("{0}: {1}", [
3636 __("Unclaimed Amount"),
37- formatCurrency(advance.unclaimed_amount, currency),
37+ formatCurrency(advance.unclaimed_amount, expenseClaim. currency),
3838 ]) }}
3939 </div >
4040 </div >
@@ -74,17 +74,13 @@ const props = defineProps({
7474 type: Object ,
7575 required: true ,
7676 },
77- currency: {
78- type: String ,
79- required: true ,
80- },
8177 isReadOnly: {
8278 type: Boolean ,
8379 default: false ,
8480 },
8581})
8682
87- const currencySymbol = computed (() => getCurrencySymbol (props .currency ))
83+ const currencySymbol = computed (() => getCurrencySymbol (props .expenseClaim . currency ))
8884
8985function toggleAdvanceSelection (advance ) {
9086 if (props .isReadOnly ) return
Original file line number Diff line number Diff line change 3838 <template #advances =" { isFormReadOnly } " >
3939 <ExpenseAdvancesTable
4040 v-model:expenseClaim =" expenseClaim"
41- :currency =" expenseClaim.currency"
4241 :isReadOnly =" isReadOnly || isFormReadOnly"
4342 />
4443
You can’t perform that action at this time.
0 commit comments