Agregar periodicidad en UI para factura del día

This commit is contained in:
El Mau 2022-04-17 16:01:05 -05:00
parent f8c2c5e2d6
commit 6c78a282fe
1 changed files with 13 additions and 1 deletions

View File

@ -233,9 +233,21 @@ var cells_new_ticket = [
]
var opt_periodicidad = [
{id: '01', value: '[01] Diario'},
{id: '02', value: '[02] Semanal'},
{id: '03', value: '[03] Quincenal'},
{id: '04', value: '[04] Mensual'},
{id: '05', value: '[05] Bimestral'},
]
var toolbar_ticket_invoice = {view: 'toolbar', elements: [{},
{view: 'checkbox', id: 'chk_is_invoice_day', labelWidth: 0, width: 150,
labelRight: 'Es factura del día'}, {},
labelRight: 'Es factura del día'},
{view: 'richselect', id: 'lst_periodicidad', labelWidth: 90, width: 400,
label: 'Periodicidad:', options: opt_periodicidad, value: '01'},
{},
{view: 'button', id: 'cmd_close_ticket_invoice', label: 'Cerrar',
type: 'danger', autowidth: true, align: 'center'}
]}