Add methods to format number and symbol on Lang
and add format number with symbol on Report issue10730 review371831002
This commit is contained in:
+1
-1
@@ -689,7 +689,7 @@
|
||||
<text:p text:style-name="P26"><text:placeholder text:placeholder-type="text"></for></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Tableau1.A3" office:value-type="string">
|
||||
<text:p text:style-name="P17"><text:placeholder text:placeholder-type="text"><(format_number(quotation_line.quantity, quotation.supplier.lang, digits=quotation_line.unit.digits if quotation_line.unit else None) + (quotation_line.unit and (' ' + quotation_line.unit.symbol) or '')) or ''></text:placeholder></text:p>
|
||||
<text:p text:style-name="P17"><text:placeholder text:placeholder-type="text"><format_number_symbol(quotation_line.quantity, quotation.supplier.lang, quotation_line.unit, digits=quotation_line.unit.digits) if quotation_line.unit else format_number(quotation_line.quantity, quotation.supplier.lang)></text:placeholder></text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:style-name="Tableau1.A3" office:value-type="string">
|
||||
<text:p text:style-name="P17"><text:placeholder text:placeholder-type="text"><format_currency(quotation_line.unit_price, quotation.supplier.lang, quotation_line.currency, digits=quotation_line.__class__.unit_price.digits[1]) if quotation_line.unit_price else ""></text:placeholder></text:p>
|
||||
|
||||
Reference in New Issue
Block a user