Fix - Activar tipo de cambio en otras monedas
This commit is contained in:
parent
92ff62d9f0
commit
5d1d0c8c79
|
@ -1165,6 +1165,17 @@ function lst_metodo_pago_change(nv, ov){
|
|||
}
|
||||
|
||||
|
||||
function lst_moneda_change(nv, ov){
|
||||
if(nv == 'MXN'){
|
||||
$$('txt_tipo_cambio').setValue('1.00')
|
||||
$$('txt_tipo_cambio').config.readonly = true
|
||||
}else{
|
||||
$$('txt_tipo_cambio').config.readonly = false
|
||||
}
|
||||
$$('txt_tipo_cambio').refresh()
|
||||
}
|
||||
|
||||
|
||||
function get_prefacturas(){
|
||||
var fy = $$('prefilter_year')
|
||||
var fm = $$('prefilter_month')
|
||||
|
|
|
@ -73,6 +73,7 @@ var controllers = {
|
|||
$$('cmd_prefactura').attachEvent('onItemClick', cmd_prefactura_click)
|
||||
$$('cmd_cfdi_relacionados').attachEvent('onItemClick', cmd_cfdi_relacionados_click)
|
||||
$$('lst_metodo_pago').attachEvent('onChange', lst_metodo_pago_change)
|
||||
$$('lst_moneda').attachEvent('onChange', lst_moneda_change)
|
||||
$$('lst_serie').attachEvent('onChange', lst_serie_change)
|
||||
|
||||
var tb_invoice = $$('tv_invoice').getTabbar()
|
||||
|
|
Loading…
Reference in New Issue