mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
trabajando en añadir lineas a envio
This commit is contained in:
@ -14,22 +14,9 @@ $(()=>{
|
||||
if(!response.status){
|
||||
popErrorAlert(response.message);
|
||||
}
|
||||
if(response.data && response.data.createAlbaran){
|
||||
if(response.data){
|
||||
|
||||
Swal.fire({
|
||||
title: 'Atención!',
|
||||
text: 'El pedido no contenía ningún albarán. Se han añadido automáticamente.',
|
||||
icon: 'warning',
|
||||
showCancelButton: false,
|
||||
confirmButtonColor: '#3085d6',
|
||||
confirmButtonText: 'Ok',
|
||||
customClass: {
|
||||
confirmButton: 'btn btn-primary me-1',
|
||||
},
|
||||
buttonsStyling: false
|
||||
}).then(() => {
|
||||
//window.open(`${urlObj.origin}` + '/presupuestoadmin/edit/' + response.id);
|
||||
});
|
||||
window.open(`${urlObj.origin}` + '/logistica/envio/' + response.id);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user