Error #291
This commit is contained in:
parent
a15ddd3544
commit
eab8c3bb94
|
@ -1,6 +1,7 @@
|
||||||
v 1.19.1 [29-sep-2018]
|
v 1.19.1 [03-oct-2018]
|
||||||
----------------------
|
----------------------
|
||||||
- Error #291
|
- Error #291
|
||||||
|
- Error al generar PDF de factura de pago con relacionados sin serie
|
||||||
|
|
||||||
v 1.19.0 [28-sep-2018]
|
v 1.19.0 [28-sep-2018]
|
||||||
----------------------
|
----------------------
|
||||||
|
|
|
@ -6,8 +6,9 @@ siempre actualizado.** Solo se da soporte sobre la ultima versión de **Empresa
|
||||||
Libre**.
|
Libre**.
|
||||||
|
|
||||||
|
|
||||||
### 1.19.1 [29-sep-2018]
|
### 1.19.1 [03-oct-2018]
|
||||||
- Error [#291](https://gitlab.com/mauriciobaeza/empresa-libre/issues/291)
|
- Error [#291](https://gitlab.com/mauriciobaeza/empresa-libre/issues/291)
|
||||||
|
- Error al generar PDF de factura de pago con relacionados sin serie
|
||||||
|
|
||||||
|
|
||||||
### 1.19.0 [28-sep-2018]
|
### 1.19.0 [28-sep-2018]
|
||||||
|
|
|
@ -1175,7 +1175,7 @@ class LIBO(object):
|
||||||
count = len(related)
|
count = len(related)
|
||||||
for i, doc in enumerate(related):
|
for i, doc in enumerate(related):
|
||||||
uuid = doc['IdDocumento'].upper()
|
uuid = doc['IdDocumento'].upper()
|
||||||
serie = doc['Serie']
|
serie = doc.get('Serie', '')
|
||||||
folio = doc['Folio']
|
folio = doc['Folio']
|
||||||
metodo_pago = doc['MetodoDePagoDR']
|
metodo_pago = doc['MetodoDePagoDR']
|
||||||
moneda = doc['MonedaDR']
|
moneda = doc['MonedaDR']
|
||||||
|
|
|
@ -257,12 +257,15 @@ function cmd_agregar_deposito_click(){
|
||||||
msg_importe = ''
|
msg_importe = ''
|
||||||
get_bancos_forma_pago(false)
|
get_bancos_forma_pago(false)
|
||||||
get_facturas_por_pagar()
|
get_facturas_por_pagar()
|
||||||
|
|
||||||
var g = $$('grid_cfdi_este_deposito')
|
var g = $$('grid_cfdi_este_deposito')
|
||||||
g.config.columns[g.getColumnIndex('importe')].header = 'Este Pago ' + current_currency
|
g.config.columns[g.getColumnIndex('importe')].header = 'Este Pago ' + current_currency
|
||||||
g.refreshColumns()
|
g.refreshColumns()
|
||||||
show('deposit_type_change', current_currency!=CURRENCY_MN)
|
show('deposit_type_change', current_currency!=CURRENCY_MN)
|
||||||
|
|
||||||
var title = 'Agregar depósito de banco a la cuenta ' + $$('lst_cuentas_banco').getText() + ' en ' + $$('txt_cuenta_moneda').getValue()
|
var title = 'Agregar depósito de banco a la cuenta ' + $$('lst_cuentas_banco').getText() + ' en ' + $$('txt_cuenta_moneda').getValue()
|
||||||
$$('title_bank_deposit').setValue(title)
|
$$('title_bank_deposit').setValue(title)
|
||||||
|
|
||||||
$$('multi_bancos').setValue('banco_deposito')
|
$$('multi_bancos').setValue('banco_deposito')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -388,14 +391,14 @@ function cmd_guardar_retiro_click(){
|
||||||
|
|
||||||
|
|
||||||
function txt_retiro_importe_change(new_value, old_value){
|
function txt_retiro_importe_change(new_value, old_value){
|
||||||
if(!isFinite(new_value) || !new_value){
|
if(!isFinite(new_value)){
|
||||||
this.config.value = old_value
|
this.config.value = old_value
|
||||||
this.refresh()
|
this.refresh()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function txt_deposito_importe_change(new_value, old_value){
|
function txt_deposito_importe_change(new_value, old_value){
|
||||||
if(!isFinite(new_value) || !new_value){
|
if(!isFinite(new_value)){
|
||||||
this.config.value = old_value
|
this.config.value = old_value
|
||||||
this.refresh()
|
this.refresh()
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@ var toolbar_banco = [
|
||||||
{view: 'richselect', id: 'lst_cuentas_banco', label: 'Cuenta',
|
{view: 'richselect', id: 'lst_cuentas_banco', label: 'Cuenta',
|
||||||
labelWidth: 100, options: []},
|
labelWidth: 100, options: []},
|
||||||
{view: 'text', id: 'txt_cuenta_moneda', label: 'Moneda', readonly: true},
|
{view: 'text', id: 'txt_cuenta_moneda', label: 'Moneda', readonly: true},
|
||||||
{view: 'currency', id: 'txt_cuenta_saldo', label: 'Saldo', readonly: true,
|
{view: 'currency2', id: 'txt_cuenta_saldo', label: 'Saldo', readonly: true,
|
||||||
inputAlign: 'right', value: 0}
|
inputAlign: 'right', value: 0}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue