mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-24 04:41:00 +01:00
Fix su creazione ddt di completamento
This commit is contained in:
parent
dbb45a9584
commit
c87df50df8
@ -50,7 +50,11 @@ function completaTrasporto() {
|
|||||||
confirmButtonText: "'.tr('Completa').'",
|
confirmButtonText: "'.tr('Completa').'",
|
||||||
}).then(
|
}).then(
|
||||||
function() {
|
function() {
|
||||||
|
if ($("select[name=id_segment]").val() == null) {
|
||||||
|
swal( "'.tr('Attenzione').'", "'.tr('Devi prima selezionare un segmento').'...", "warning");
|
||||||
|
} else {
|
||||||
location.href = globals.rootdir + "/editor.php?id_module='.$id_module.'&id_segment=" + $("select[name=id_segment]").val() + "&id_record='.$id_record.'&op=completa_trasporto&backto=record-edit";
|
location.href = globals.rootdir + "/editor.php?id_module='.$id_module.'&id_segment=" + $("select[name=id_segment]").val() + "&id_record='.$id_record.'&op=completa_trasporto&backto=record-edit";
|
||||||
|
}
|
||||||
},
|
},
|
||||||
function() {},
|
function() {},
|
||||||
start_superselect(),
|
start_superselect(),
|
||||||
|
Loading…
Reference in New Issue
Block a user