Fix minori confronta prezzi

This commit is contained in:
MatteoPistorello 2023-07-21 09:58:20 +02:00
parent d46609b817
commit e39813d2bf
8 changed files with 6 additions and 8 deletions

View File

@ -25,7 +25,6 @@ use Modules\Contratti\Contratto;
$contratto = Contratto::find($id_record); $contratto = Contratto::find($id_record);
$id_anagrafica = $contratto->idanagrafica; $id_anagrafica = $contratto->idanagrafica;
$direzione = $contratto->direzione;
$righe = $_GET['righe']; $righe = $_GET['righe'];
$righe = $dbo->fetchArray( $righe = $dbo->fetchArray(

View File

@ -378,7 +378,7 @@ function getSelectData() {
} }
function confrontaRighe(id) { function confrontaRighe(id) {
openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id + "&id_anagrafica='.$ordine->idanagrafica.'&direzione='.$dir.'"); openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id);
} }

View File

@ -427,7 +427,7 @@ function getSelectData() {
} }
function confrontaRighe(id) { function confrontaRighe(id) {
openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id + "&id_anagrafica='.$ordine->idanagrafica.'&direzione='.$dir.'"); openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id);
} }
function rimuoviRiga(id) { function rimuoviRiga(id) {

View File

@ -548,7 +548,7 @@ function getSelectData() {
} }
function confrontaRighe(id) { function confrontaRighe(id) {
openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id + "&id_anagrafica='.$ordine->idanagrafica.'&direzione='.$dir.'"); openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id);
} }
function rimuoviRiga(id) { function rimuoviRiga(id) {

View File

@ -322,7 +322,7 @@ function getSelectData() {
} }
function confrontaRighe(id) { function confrontaRighe(id) {
openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id + "&id_anagrafica='.$ordine->idanagrafica.'&direzione='.$dir.'"); openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id);
} }
function rimuoviRiga(id) { function rimuoviRiga(id) {

View File

@ -472,7 +472,7 @@ function getSelectData() {
} }
function confrontaRighe(id) { function confrontaRighe(id) {
openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id + "&id_anagrafica='.$ordine->idanagrafica.'&direzione='.$dir.'"); openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id);
} }
function rimuoviRiga(id) { function rimuoviRiga(id) {

View File

@ -25,7 +25,6 @@ use Modules\Preventivi\Preventivo;
$preventivo = Preventivo::find($id_record); $preventivo = Preventivo::find($id_record);
$id_anagrafica = $preventivo->idanagrafica; $id_anagrafica = $preventivo->idanagrafica;
$direzione = $preventivo->direzione;
$righe = $_GET['righe']; $righe = $_GET['righe'];
$righe = $dbo->fetchArray( $righe = $dbo->fetchArray(

View File

@ -437,7 +437,7 @@ function getSelectData() {
} }
function confrontaRighe(id) { function confrontaRighe(id) {
openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id + "&id_anagrafica='.$ordine->idanagrafica.'&direzione='.$dir.'"); openModal("'.tr('Confronta prezzi').'", "'.$module->fileurl('modals/confronta_righe.php').'?id_module=" + globals.id_module + "&id_record=" + globals.id_record + "&righe=" + id);
} }
function rimuoviRiga(id) { function rimuoviRiga(id) {