Cambiando referencias a cosidotapablanca por presupuestoadmin

This commit is contained in:
imnavajas
2024-11-14 21:31:22 +01:00
parent b512875739
commit 9c14e77b10
34 changed files with 132 additions and 132 deletions

View File

@ -125,7 +125,7 @@ var tableOfLineasPedido = new DataTable('#tableOfLineasPedido',{
$(document).on('click', '.btn-view', function(e) {
<?php if (auth()->user()->inGroup('admin') || auth()->user()->inGroup('beta')): ?>
var url = '<?= route_to('editarPresupuesto', ':id') ?>';
var url = '<?= route_to('editarPresupuestoAdmin', ':id') ?>';
<?php else: ?>
var url = '<?= route_to('editarPresupuestoCliente2', ':id') ?>';
<?php endif; ?>