Aprobación de Agencias
This commit is contained in:
@@ -73,7 +73,7 @@ function guardar()
|
||||
|
||||
$vehiculo = trim($_POST['vehiculo'] ?? '');
|
||||
$identFiscal = trim($_POST['identificador_fiscal'] ?? '');
|
||||
$idTrans = $_POST['id_transportista'] ?? null;
|
||||
$idTrans = $_POST['transportista_id'] ?? null;
|
||||
|
||||
if ($vehiculo === '' || $identFiscal === '' || !$idTrans) {
|
||||
die("❌ Todos los campos son obligatorios.");
|
||||
|
||||
Reference in New Issue
Block a user