From 272627a60a9ae9401096083b4ad7e705c1a6cbce Mon Sep 17 00:00:00 2001 From: MatteoPistorello Date: Tue, 14 Jun 2022 16:56:52 +0200 Subject: [PATCH] Fix minori sconti ddt e ordini --- modules/ddt/actions.php | 3 --- modules/ordini/actions.php | 3 --- 2 files changed, 6 deletions(-) diff --git a/modules/ddt/actions.php b/modules/ddt/actions.php index b4c828149..807a44a99 100755 --- a/modules/ddt/actions.php +++ b/modules/ddt/actions.php @@ -77,9 +77,6 @@ switch (filter('op')) { $bollo = 0; } - $tipo_sconto = post('tipo_sconto_generico'); - $sconto = post('sconto_generico'); - // Leggo la descrizione del pagamento $query = 'SELECT descrizione FROM co_pagamenti WHERE id='.prepare($idpagamento); $rs = $dbo->fetchArray($query); diff --git a/modules/ordini/actions.php b/modules/ordini/actions.php index cb6c1f39c..6b31fef56 100755 --- a/modules/ordini/actions.php +++ b/modules/ordini/actions.php @@ -64,9 +64,6 @@ switch (post('op')) { $totale_imponibile = get_imponibile_ordine($id_record); $totale_ordine = get_totale_ordine($id_record); - $tipo_sconto = post('tipo_sconto_generico'); - $sconto = post('sconto_generico'); - if ($dir == 'uscita') { $idrivalsainps = post('id_rivalsa_inps'); $idritenutaacconto = post('id_ritenuta_acconto');