Fix - en notas
This commit is contained in:
parent
cdd97416ab
commit
8db62db775
|
@ -3,6 +3,7 @@ Description=uWSGI instance to serve Empresa Libre
|
|||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/uwsgi /opt/empresa-libre/app/main.ini
|
||||
KillSignal=SIGQUIT
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -4979,7 +4979,7 @@ class Tickets(BaseModel):
|
|||
total_trasladados = None
|
||||
|
||||
for producto in productos:
|
||||
id_producto = producto.pop('id')
|
||||
id_producto = producto.pop('id_product')
|
||||
p = Productos.get(Productos.id==id_producto)
|
||||
producto['descripcion'] = p.descripcion
|
||||
producto['ticket'] = ticket.id
|
||||
|
|
|
@ -221,6 +221,7 @@ function guardar_ticket(values){
|
|||
|
||||
var rows = gd.data.getRange()
|
||||
for (i = 0; i < rows.length; i++) {
|
||||
delete rows[i]['id']
|
||||
delete rows[i]['delete']
|
||||
delete rows[i]['clave']
|
||||
delete rows[i]['clave_sat']
|
||||
|
|
|
@ -560,6 +560,11 @@ var options_templates = [
|
|||
label: 'Plantilla Factura v3.3 (JSON): ', labelPosition: 'top',
|
||||
icon: 'file'}, {}]},
|
||||
{maxHeight: 20},
|
||||
{cols: [{maxWidth: 15},
|
||||
{view: 'search', id: 'txt_plantilla_nomina1233', name: 'plantilla_nomina1233',
|
||||
label: 'Plantilla Nomina v1.2 - Cfdi 3.3 (ODS): ', labelPosition: 'top',
|
||||
icon: 'file'}, {}]},
|
||||
{maxHeight: 20},
|
||||
{cols: [{maxWidth: 15},
|
||||
{view: 'search', id: 'txt_plantilla_ticket', name: 'plantilla_ticket',
|
||||
label: 'Plantilla para Tickets (ODS): ', labelPosition: 'top',
|
||||
|
@ -569,11 +574,6 @@ var options_templates = [
|
|||
icon: 'file'},
|
||||
{}]},
|
||||
{maxHeight: 20},
|
||||
{cols: [{maxWidth: 15},
|
||||
{view: 'search', id: 'txt_plantilla_nomina1233', name: 'plantilla_nomina1233',
|
||||
label: 'Plantilla Nomina v1.2 - Cfdi 3.3 (ODS): ', labelPosition: 'top',
|
||||
icon: 'file'}, {}]},
|
||||
{maxHeight: 20},
|
||||
{}]
|
||||
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ var tbody_buscar_producto = {rows: [
|
|||
|
||||
|
||||
var grid_tdetails_cols = [
|
||||
{id: "id", header:"ID", hidden: true},
|
||||
{id: "id_product", header:"ID", hidden: true},
|
||||
{id: 'delete', header: '', width: 30, css: 'delete'},
|
||||
{id: "clave", header:{text: 'Clave', css: 'center'}, width: 100,
|
||||
footer: {text: 'Artículos', css: 'right_footer3'}},
|
||||
|
|
Loading…
Reference in New Issue