add ot_id in ots datatables

This commit is contained in:
amazuecos
2025-05-05 08:07:17 +02:00
parent 8cbe5a7051
commit b4dfdfa101
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
<table id="<?= $id ?>" class="table table-hover text-dark" style="width: 100%;"> <table id="<?= $id ?>" class="table table-hover text-dark" style="width: 100%;">
<thead> <thead>
<tr> <tr>
<th><?= lang('Produccion.datatable.ot_id') ?></th>
<th><?= lang('Produccion.datatable.pedido_id') ?></th> <th><?= lang('Produccion.datatable.pedido_id') ?></th>
<th><?= lang('Produccion.datatable.fecha_encuadernacion') ?></th> <th><?= lang('Produccion.datatable.fecha_encuadernacion') ?></th>
<th><?= lang('Produccion.datatable.cliente') ?></th> <th><?= lang('Produccion.datatable.cliente') ?></th>

View File

@ -15,6 +15,7 @@ class OrdenTrabajoDatatable {
this.datatableColumns = [ this.datatableColumns = [
{ data: 'id', searchable: false, sortable: false },
{ data: 'pedido_id', searchable: false, sortable: false }, { data: 'pedido_id', searchable: false, sortable: false },
{ data: 'fecha_encuadernado_at', searchable: false, sortable: false }, { data: 'fecha_encuadernado_at', searchable: false, sortable: false },
{ data: 'cliente_nombre', searchable: false, sortable: false }, { data: 'cliente_nombre', searchable: false, sortable: false },