forked from elmau/empresa-libre
Error #295
This commit is contained in:
parent
ae4c4b9355
commit
3cc85e2644
|
@ -40,8 +40,9 @@ from settings import log, DEBUG, VERSION, PATH_CP, COMPANIES, PRE, CURRENT_CFDI,
|
|||
|
||||
FORMAT = '{0:.2f}'
|
||||
FORMAT3 = '{0:.3f}'
|
||||
FORMAT_TAX = '{0:.4f}'
|
||||
FORMAT_PRECIO = '{0:.4f}'
|
||||
FORMAT4 = '{0:.4f}'
|
||||
FORMAT_TAX = FORMAT4
|
||||
FORMAT_PRECIO = FORMAT4
|
||||
RFC_PUBLICO = 'XAXX010101000'
|
||||
|
||||
|
||||
|
@ -5626,7 +5627,7 @@ class CfdiPagos(BaseModel):
|
|||
r['IdDocumento'] = str(r['IdDocumento'])
|
||||
r['Folio'] = str(r['Folio'])
|
||||
r['NumParcialidad'] = str(r['NumParcialidad'])
|
||||
r['TipoCambioDR'] = FORMAT.format(r['TipoCambioDR'])
|
||||
r['TipoCambioDR'] = FORMAT4.format(r['TipoCambioDR'])
|
||||
r['MetodoDePagoDR'] = DEFAULT_CFDIPAY['WAYPAY']
|
||||
r['ImpSaldoAnt'] = FORMAT.format(r['ImpSaldoAnt'])
|
||||
r['ImpPagado'] = FORMAT.format(r['ImpPagado'])
|
||||
|
|
|
@ -203,7 +203,7 @@ function format_currency2(value){
|
|||
|
||||
|
||||
function format_currency4(value){
|
||||
return '$ ' + format_decimal_2(value)
|
||||
return '$ ' + format_decimal_4(value)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue