Skip to content

Commit c07d97c

Browse files
authored
Translate the format in getAmountInWords
I think this is the easiest way.
1 parent 9fcde11 commit c07d97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/CurrencyFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function getAmountInWords(float $amount, ?string $locale = null)
163163
}
164164

165165
return sprintf(
166-
'%s %s and %s %s',
166+
trans('invoices::invoice.amount_in_words_format'),
167167
ucfirst($integer_value),
168168
strtoupper($this->currency_code),
169169
$fraction_value,

0 commit comments

Comments
 (0)