This commit is contained in:
el Mau 2023-01-04 13:02:33 -06:00
parent f14c1f74d8
commit 0c8d6d3cea
2 changed files with 7 additions and 0 deletions

View File

@ -993,6 +993,8 @@ function send_stamp_cfdi_pay(id_mov){
var g = $$('grid_cfdi_pay')
var data = {'opt': 'stamp', 'id_mov': id_mov}
var close = $$('chk_pay_close_when_stamp').getValue()
//~ ToDo Actualizar cantidad de facturas de pago en el movimiento
webix.ajax().sync().post('cfdipay', data, {
@ -1010,6 +1012,9 @@ function send_stamp_cfdi_pay(id_mov){
}
}
})
$$('multi_bancos').setValue('banco_home')
}
function save_cfdi_pay(form){

View File

@ -347,6 +347,8 @@ var toolbar_bank_pay = [
type: 'iconButton', autowidth: true, icon: 'minus'},
{view: 'button', id: 'cmd_pay_delete', label: 'Eliminar',
type: 'iconButton', autowidth: true, icon: 'ban'},
{view: 'checkbox', id: 'chk_pay_close_when_stamp',
label: 'Cerrar al timbrar', tooltip: 'Cerrar al timbrar'},
{},
{view: 'icon', click: '$$("multi_bancos").setValue("banco_home")',
icon: 'times-circle'}