mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
añadidos links al pedido y al presupuesto
This commit is contained in:
@ -197,7 +197,19 @@ class LogisticaController extends BaseController
|
|||||||
<a href="javascript:void(0);"><i class="ti ti-pencil ti-sm btn-edit mx-2" data-id="' . $q->id . '"></i></a>
|
<a href="javascript:void(0);"><i class="ti ti-pencil ti-sm btn-edit mx-2" data-id="' . $q->id . '"></i></a>
|
||||||
</div>
|
</div>
|
||||||
';
|
';
|
||||||
});
|
})
|
||||||
|
->edit(
|
||||||
|
"pedido",
|
||||||
|
function ($row, $meta) {
|
||||||
|
return '<a href="' . base_url('pedidos/edit/' . $row->pedido) . '" target="_blank">' . $row->pedido . '</a>';
|
||||||
|
}
|
||||||
|
)
|
||||||
|
->edit(
|
||||||
|
"presupuesto",
|
||||||
|
function ($row, $meta) {
|
||||||
|
return '<a href="' . base_url('presupuestoadmin/edit/' . $row->presupuesto) . '" target="_blank">' . $row->presupuesto . '</a>';
|
||||||
|
}
|
||||||
|
);;
|
||||||
|
|
||||||
return $result->toJson(returnAsObject: true);
|
return $result->toJson(returnAsObject: true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user