mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 19:40:44 +01:00
Tabella co_rivalsainps diventa co_rivalse
This commit is contained in:
parent
7bb01a9845
commit
4332671356
@ -48,7 +48,7 @@ if ($show_rivalsa_inps == 1 || $show_ritenuta_acconto == 1) {
|
|||||||
if ($show_rivalsa_inps == 1) {
|
if ($show_rivalsa_inps == 1) {
|
||||||
echo '
|
echo '
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
{[ "type": "select", "label": "'.tr('Rivalsa').'", "name": "id_rivalsa_inps", "value": "'.$id_rivalsa_inps.'", "values": "query=SELECT * FROM co_rivalsainps" ]}
|
{[ "type": "select", "label": "'.tr('Rivalsa').'", "name": "id_rivalsa_inps", "value": "'.$id_rivalsa_inps.'", "values": "query=SELECT * FROM co_rivalse" ]}
|
||||||
</div>';
|
</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -188,7 +188,7 @@ function ricalcola_costiagg_ddt($idddt, $idrivalsainps = '', $idritenutaacconto
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = "SELECT percentuale FROM co_rivalsainps WHERE id='".$idrivalsainps."'";
|
$query = "SELECT percentuale FROM co_rivalse WHERE id='".$idrivalsainps."'";
|
||||||
$rs = $dbo->fetchArray($query);
|
$rs = $dbo->fetchArray($query);
|
||||||
$rivalsainps = $totale_imponibile / 100 * $rs[0]['percentuale'];
|
$rivalsainps = $totale_imponibile / 100 * $rs[0]['percentuale'];
|
||||||
|
|
||||||
|
@ -292,7 +292,7 @@ switch (post('op')) {
|
|||||||
$desc_iva = $rs[0]['descrizione'];
|
$desc_iva = $rs[0]['descrizione'];
|
||||||
|
|
||||||
// Calcolo rivalsa inps
|
// Calcolo rivalsa inps
|
||||||
$query = 'SELECT * FROM co_rivalsainps WHERE id='.prepare(setting('Percentuale rivalsa'));
|
$query = 'SELECT * FROM co_rivalse WHERE id='.prepare(setting('Percentuale rivalsa'));
|
||||||
$rs = $dbo->fetchArray($query);
|
$rs = $dbo->fetchArray($query);
|
||||||
$rivalsainps = ($prezzo - $sconto) / 100 * $rs[0]['percentuale'];
|
$rivalsainps = ($prezzo - $sconto) / 100 * $rs[0]['percentuale'];
|
||||||
|
|
||||||
@ -429,7 +429,7 @@ switch (post('op')) {
|
|||||||
$desc_iva = $rs[0]['descrizione'];
|
$desc_iva = $rs[0]['descrizione'];
|
||||||
|
|
||||||
// Calcolo rivalsa inps
|
// Calcolo rivalsa inps
|
||||||
$query = 'SELECT * FROM co_rivalsainps WHERE id='.prepare(setting('Percentuale rivalsa'));
|
$query = 'SELECT * FROM co_rivalse WHERE id='.prepare(setting('Percentuale rivalsa'));
|
||||||
$rs = $dbo->fetchArray($query);
|
$rs = $dbo->fetchArray($query);
|
||||||
$rivalsainps = ($prezzo - $sconto) / 100 * $rs[0]['percentuale'];
|
$rivalsainps = ($prezzo - $sconto) / 100 * $rs[0]['percentuale'];
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ if (isset($id_record)) {
|
|||||||
co_tipidocumento.descrizione AS `descrizione_tipodoc`,
|
co_tipidocumento.descrizione AS `descrizione_tipodoc`,
|
||||||
(SELECT is_fiscale FROM zz_segments WHERE id = id_segment) AS is_fiscale,
|
(SELECT is_fiscale FROM zz_segments WHERE id = id_segment) AS is_fiscale,
|
||||||
(SELECT descrizione FROM co_ritenutaacconto WHERE id=idritenutaacconto) AS ritenutaacconto_desc,
|
(SELECT descrizione FROM co_ritenutaacconto WHERE id=idritenutaacconto) AS ritenutaacconto_desc,
|
||||||
(SELECT descrizione FROM co_rivalsainps WHERE id=idrivalsainps) AS rivalsainps_desc,
|
(SELECT descrizione FROM co_rivalse WHERE id=idrivalsainps) AS rivalsainps_desc,
|
||||||
(SELECT descrizione FROM dt_causalet WHERE id=idcausalet) AS causale_desc
|
(SELECT descrizione FROM dt_causalet WHERE id=idcausalet) AS causale_desc
|
||||||
FROM co_documenti
|
FROM co_documenti
|
||||||
LEFT OUTER JOIN co_statidocumento ON co_documenti.idstatodocumento=co_statidocumento.id
|
LEFT OUTER JOIN co_statidocumento ON co_documenti.idstatodocumento=co_statidocumento.id
|
||||||
|
@ -614,7 +614,7 @@ function add_articolo_infattura($iddocumento, $idarticolo, $descrizione, $idiva,
|
|||||||
|
|
||||||
if (!empty($idrivalsainps)) {
|
if (!empty($idrivalsainps)) {
|
||||||
// Calcolo rivalsa inps
|
// Calcolo rivalsa inps
|
||||||
$rs = $dbo->fetchArray('SELECT * FROM co_rivalsainps WHERE id='.prepare($idrivalsainps));
|
$rs = $dbo->fetchArray('SELECT * FROM co_rivalse WHERE id='.prepare($idrivalsainps));
|
||||||
$rivalsainps = ($prezzo - $sconto) / 100 * $rs[0]['percentuale'];
|
$rivalsainps = ($prezzo - $sconto) / 100 * $rs[0]['percentuale'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -391,7 +391,7 @@ function aggiungi_intervento_in_fattura($id_intervento, $id_fattura, $descrizion
|
|||||||
$desc_iva = $rs[0]['descrizione'];
|
$desc_iva = $rs[0]['descrizione'];
|
||||||
|
|
||||||
// Calcolo rivalsa inps
|
// Calcolo rivalsa inps
|
||||||
$query = 'SELECT * FROM co_rivalsainps WHERE id='.prepare($id_rivalsa_inps);
|
$query = 'SELECT * FROM co_rivalse WHERE id='.prepare($id_rivalsa_inps);
|
||||||
$rs = $dbo->fetchArray($query);
|
$rs = $dbo->fetchArray($query);
|
||||||
$rivalsainps = ($subtot - $sconto) / 100 * $rs[0]['percentuale'];
|
$rivalsainps = ($subtot - $sconto) / 100 * $rs[0]['percentuale'];
|
||||||
|
|
||||||
@ -425,7 +425,7 @@ function aggiungi_intervento_in_fattura($id_intervento, $id_fattura, $descrizion
|
|||||||
$desc_iva = $rs[0]['descrizione'];
|
$desc_iva = $rs[0]['descrizione'];
|
||||||
|
|
||||||
// Calcolo rivalsa inps
|
// Calcolo rivalsa inps
|
||||||
$query = 'SELECT * FROM co_rivalsainps WHERE id='.prepare($id_rivalsa_inps);
|
$query = 'SELECT * FROM co_rivalse WHERE id='.prepare($id_rivalsa_inps);
|
||||||
$rs = $dbo->fetchArray($query);
|
$rs = $dbo->fetchArray($query);
|
||||||
$rivalsainps = $rst[$i]['tot_prezzo_dirittochiamata'] / 100 * $rs[0]['percentuale'];
|
$rivalsainps = $rst[$i]['tot_prezzo_dirittochiamata'] / 100 * $rs[0]['percentuale'];
|
||||||
|
|
||||||
@ -482,7 +482,7 @@ function aggiungi_intervento_in_fattura($id_intervento, $id_fattura, $descrizion
|
|||||||
$iva_indetraibile = $iva / 100 * $rs[0]['indetraibile'];
|
$iva_indetraibile = $iva / 100 * $rs[0]['indetraibile'];
|
||||||
|
|
||||||
// Calcolo rivalsa inps
|
// Calcolo rivalsa inps
|
||||||
$query = 'SELECT * FROM co_rivalsainps WHERE id='.prepare($id_rivalsa_inps);
|
$query = 'SELECT * FROM co_rivalse WHERE id='.prepare($id_rivalsa_inps);
|
||||||
$rs = $dbo->fetchArray($query);
|
$rs = $dbo->fetchArray($query);
|
||||||
$rivalsainps = ($subtot - $sconto) / 100 * $rs[0]['percentuale'];
|
$rivalsainps = ($subtot - $sconto) / 100 * $rs[0]['percentuale'];
|
||||||
|
|
||||||
@ -513,7 +513,7 @@ function aggiungi_intervento_in_fattura($id_intervento, $id_fattura, $descrizion
|
|||||||
$iva_indetraibile = $iva / 100 * $dati[0]['indetraibile'];
|
$iva_indetraibile = $iva / 100 * $dati[0]['indetraibile'];
|
||||||
|
|
||||||
// Calcolo rivalsa inps
|
// Calcolo rivalsa inps
|
||||||
$query = 'SELECT * FROM co_rivalsainps WHERE id='.prepare($id_rivalsa_inps);
|
$query = 'SELECT * FROM co_rivalse WHERE id='.prepare($id_rivalsa_inps);
|
||||||
$dati = $dbo->fetchArray($query);
|
$dati = $dbo->fetchArray($query);
|
||||||
$rivalsainps = ($subtot - $sconto) / 100 * $dati[0]['percentuale'];
|
$rivalsainps = ($subtot - $sconto) / 100 * $dati[0]['percentuale'];
|
||||||
|
|
||||||
@ -543,7 +543,7 @@ function aggiungi_intervento_in_fattura($id_intervento, $id_fattura, $descrizion
|
|||||||
$iva_indetraibile = $iva / 100 * $rs[0]['indetraibile'];
|
$iva_indetraibile = $iva / 100 * $rs[0]['indetraibile'];
|
||||||
|
|
||||||
// Calcolo rivalsa inps
|
// Calcolo rivalsa inps
|
||||||
$query = 'SELECT * FROM co_rivalsainps WHERE id='.prepare($id_rivalsa_inps);
|
$query = 'SELECT * FROM co_rivalse WHERE id='.prepare($id_rivalsa_inps);
|
||||||
$rs = $dbo->fetchArray($query);
|
$rs = $dbo->fetchArray($query);
|
||||||
$rivalsainps = ($subtot) / 100 * $rs[0]['percentuale'];
|
$rivalsainps = ($subtot) / 100 * $rs[0]['percentuale'];
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ function ricalcola_costiagg_ordine($idordine, $idrivalsainps = '', $idritenutaac
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = 'SELECT percentuale FROM co_rivalsainps WHERE id='.prepare($idrivalsainps);
|
$query = 'SELECT percentuale FROM co_rivalse WHERE id='.prepare($idrivalsainps);
|
||||||
$rs = $dbo->fetchArray($query);
|
$rs = $dbo->fetchArray($query);
|
||||||
$rivalsainps = $totale_imponibile / 100 * $rs[0]['percentuale'];
|
$rivalsainps = $totale_imponibile / 100 * $rs[0]['percentuale'];
|
||||||
|
|
||||||
|
@ -6,5 +6,5 @@ use Common\Model;
|
|||||||
|
|
||||||
class RivalsaINPS extends Model
|
class RivalsaINPS extends Model
|
||||||
{
|
{
|
||||||
protected $table = 'co_rivalsainps';
|
protected $table = 'co_rivalse';
|
||||||
}
|
}
|
||||||
|
60
modules/rivalse/actions.php
Normal file
60
modules/rivalse/actions.php
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
include_once __DIR__.'/../../core.php';
|
||||||
|
|
||||||
|
switch (filter('op')) {
|
||||||
|
case 'update':
|
||||||
|
$descrizione = filter('descrizione');
|
||||||
|
$percentuale = filter('percentuale');
|
||||||
|
$indetraibile = filter('indetraibile');
|
||||||
|
|
||||||
|
if (isset($descrizione) && isset($percentuale) && isset($indetraibile)) {
|
||||||
|
if ($dbo->fetchNum('SELECT * FROM `co_rivalse` WHERE `descrizione`='.prepare($descrizione).' AND `id`!='.prepare($id_record)) == 0) {
|
||||||
|
$dbo->query('UPDATE `co_rivalse` SET `descrizione`='.prepare($descrizione).', `percentuale`='.prepare($percentuale).', `indetraibile`='.prepare($indetraibile).' WHERE `id`='.prepare($id_record));
|
||||||
|
flash()->info(tr('Salvataggio completato!'));
|
||||||
|
} else {
|
||||||
|
flash()->error(tr("E' già presente una tipologia di _TYPE_ con la stessa descrizione!", [
|
||||||
|
'_TYPE_' => "ritenuta d'acconto",
|
||||||
|
]));
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
flash()->error(tr('Ci sono stati alcuni errori durante il salvataggio!'));
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'add':
|
||||||
|
$descrizione = filter('descrizione');
|
||||||
|
$percentuale = filter('percentuale');
|
||||||
|
$indetraibile = filter('indetraibile');
|
||||||
|
|
||||||
|
if (isset($descrizione) && isset($percentuale) && isset($indetraibile)) {
|
||||||
|
if ($dbo->fetchNum('SELECT * FROM `co_rivalse` WHERE `descrizione`='.prepare($descrizione)) == 0) {
|
||||||
|
$dbo->query('INSERT INTO `co_rivalse` (`descrizione`, `percentuale`, `indetraibile`) VALUES ('.prepare($descrizione).', '.prepare($percentuale).', '.prepare($indetraibile).')');
|
||||||
|
$id_record = $dbo->lastInsertedID();
|
||||||
|
|
||||||
|
flash()->info(tr('Aggiunta nuova tipologia di _TYPE_', [
|
||||||
|
'_TYPE_' => "ritenuta d'acconto",
|
||||||
|
]));
|
||||||
|
} else {
|
||||||
|
flash()->error(tr("E' già presente una tipologia di _TYPE_ con la stessa descrizione!", [
|
||||||
|
'_TYPE_' => "ritenuta d'acconto",
|
||||||
|
]));
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
flash()->error(tr('Ci sono stati alcuni errori durante il salvataggio!'));
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'delete':
|
||||||
|
if (isset($id_record)) {
|
||||||
|
$dbo->query('DELETE FROM `co_rivalse` WHERE `id`='.prepare($id_record));
|
||||||
|
|
||||||
|
flash()->info(tr('Tipologia di _TYPE_ eliminata con successo!', [
|
||||||
|
'_TYPE_' => "ritenuta d'acconto",
|
||||||
|
]));
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
31
modules/rivalse/add.php
Normal file
31
modules/rivalse/add.php
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
include_once __DIR__.'/../../core.php';
|
||||||
|
|
||||||
|
?><form action="" method="post" id="add-form">
|
||||||
|
<input type="hidden" name="op" value="add">
|
||||||
|
<input type="hidden" name="backto" value="record-edit">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
{[ "type": "text", "label": "<?php echo tr('Descrizione'); ?>", "name": "descrizione", "required": 1 ]}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
{[ "type": "number", "label": "<?php echo tr('Percentuale'); ?>", "name": "percentuale", "icon-after": "<i class=\"fa fa-percent\"></i>" ]}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-6">
|
||||||
|
{[ "type": "number", "label": "<?php echo tr('Indetraibile'); ?>", "name": "indetraibile", "icon-after": "<i class=\"fa fa-percent\"></i>" ]}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- PULSANTI -->
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12 text-right">
|
||||||
|
<button type="submit" class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo tr('Aggiungi'); ?></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
38
modules/rivalse/edit.php
Normal file
38
modules/rivalse/edit.php
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
include_once __DIR__.'/../../core.php';
|
||||||
|
|
||||||
|
?><form action="" method="post" id="edit-form">
|
||||||
|
<input type="hidden" name="backto" value="record-edit">
|
||||||
|
<input type="hidden" name="op" value="update">
|
||||||
|
|
||||||
|
<!-- DATI -->
|
||||||
|
<div class="panel panel-primary">
|
||||||
|
<div class="panel-heading">
|
||||||
|
<h3 class="panel-title"><?php echo tr('Dati'); ?></h3>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
{[ "type": "text", "label": "<?php echo tr('Descrizione'); ?>", "name": "descrizione", "required": 1, "value": "$descrizione$" ]}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
{[ "type": "number", "label": "<?php echo tr('Percentuale'); ?>", "name": "percentuale", "value": "$percentuale$", "icon-after": "<i class=\"fa fa-percent\"></i>" ]}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-6">
|
||||||
|
{[ "type": "number", "label": "<?php echo tr('Indetraibile'); ?>", "name": "indetraibile", "value": "$indetraibile$", "icon-after": "<i class=\"fa fa-percent\"></i>" ]}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<a class="btn btn-danger ask" data-backto="record-list">
|
||||||
|
<i class="fa fa-trash"></i> <?php echo tr('Elimina'); ?>
|
||||||
|
</a>
|
7
modules/rivalse/init.php
Normal file
7
modules/rivalse/init.php
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
include_once __DIR__.'/../../core.php';
|
||||||
|
|
||||||
|
if (isset($id_record)) {
|
||||||
|
$record = $dbo->fetchOne('SELECT * FROM `co_rivalse` WHERE id='.prepare($id_record));
|
||||||
|
}
|
@ -618,7 +618,7 @@ class FatturaElettronica
|
|||||||
// Cassa Previdenziale
|
// Cassa Previdenziale
|
||||||
if (!empty($id_rivalsainps)) {
|
if (!empty($id_rivalsainps)) {
|
||||||
$iva = database()->fetchOne('SELECT `percentuale`, `codice_natura_fe` FROM `co_iva` WHERE `id` = '.prepare($aliquota_iva_rivalsainps));
|
$iva = database()->fetchOne('SELECT `percentuale`, `codice_natura_fe` FROM `co_iva` WHERE `id` = '.prepare($aliquota_iva_rivalsainps));
|
||||||
$percentuale = database()->fetchOne('SELECT percentuale FROM co_rivalsainps WHERE id = '.prepare($id_rivalsainps))['percentuale'];
|
$percentuale = database()->fetchOne('SELECT percentuale FROM co_rivalse WHERE id = '.prepare($id_rivalsainps))['percentuale'];
|
||||||
|
|
||||||
$dati_cassa = [
|
$dati_cassa = [
|
||||||
'TipoCassa' => setting('Tipo Cassa'),
|
'TipoCassa' => setting('Tipo Cassa'),
|
||||||
|
@ -162,7 +162,7 @@ $totale = sum($totale, $record['bollo']);
|
|||||||
|
|
||||||
// Rivalsa INPS (+ bollo)
|
// Rivalsa INPS (+ bollo)
|
||||||
if (!empty($record['rivalsainps'])) {
|
if (!empty($record['rivalsainps'])) {
|
||||||
$rs2 = $dbo->fetchArray('SELECT percentuale FROM co_rivalsainps WHERE id=(SELECT idrivalsainps FROM co_righe_documenti WHERE iddocumento='.prepare($id_record).' AND idrivalsainps!=0 LIMIT 0,1)');
|
$rs2 = $dbo->fetchArray('SELECT percentuale FROM co_rivalse WHERE id=(SELECT idrivalsainps FROM co_righe_documenti WHERE iddocumento='.prepare($id_record).' AND idrivalsainps!=0 LIMIT 0,1)');
|
||||||
|
|
||||||
$first_colspan = 3;
|
$first_colspan = 3;
|
||||||
$second_colspan = 2;
|
$second_colspan = 2;
|
||||||
|
@ -12,5 +12,18 @@ INSERT INTO `zz_views` (`id`, `id_module`, `name`, `query`, `order`, `search`, `
|
|||||||
UPDATE `dt_spedizione` SET `descrizione` = 'Ritiro in magazzino' WHERE `dt_spedizione`.`descrizione` = 'A carico del cliente';
|
UPDATE `dt_spedizione` SET `descrizione` = 'Ritiro in magazzino' WHERE `dt_spedizione`.`descrizione` = 'A carico del cliente';
|
||||||
UPDATE `dt_spedizione` SET `descrizione` = 'Espressa' WHERE `dt_spedizione`.`descrizione` = 'A nostro carico';
|
UPDATE `dt_spedizione` SET `descrizione` = 'Espressa' WHERE `dt_spedizione`.`descrizione` = 'A nostro carico';
|
||||||
|
|
||||||
-- Fix Percentuale rivalsa INPS in Percentuale rivalsa
|
-- Rinomino tabella gestione rivalse
|
||||||
UPDATE `osm_totino`.`zz_settings` SET `nome` = 'Percentuale rivalsa' WHERE `zz_settings`.`nome` = 'Percentuale rivalsa INPS';
|
RENAME TABLE co_rivalsainps TO co_rivalse;
|
||||||
|
|
||||||
|
-- Fix Percentuale rivalsa INPS in Percentuale rivalsa in impostazioni
|
||||||
|
UPDATE `zz_settings` SET `nome` = 'Percentuale rivalsa', `tipo` = 'query=SELECT id, descrizione FROM `co_rivalse` ORDER BY descrizione ASC' WHERE `zz_settings`.`nome` = 'Percentuale rivalsa INPS';
|
||||||
|
|
||||||
|
-- Aggiunto modulo per gestire le rivalse
|
||||||
|
INSERT INTO `zz_modules` (`id`, `name`, `title`, `directory`, `options`, `options2`, `icon`, `version`, `compatibility`, `order`, `parent`, `default`, `enabled`) VALUES (NULL, 'Rivalse', 'Rivalse', 'rivalse', 'SELECT |select| FROM `co_rivalse` WHERE 1=1 HAVING 2=2', '', 'fa fa-percent', '2.4.6', '2.4.6', '1', (SELECT id FROM zz_modules t WHERE t.name = 'Tabelle' ), '1', '1');
|
||||||
|
|
||||||
|
-- Colonne per modulo 'Rivalse'
|
||||||
|
INSERT INTO `zz_views` (`id`, `id_module`, `name`, `query`, `order`, `search`, `slow`, `format`, `search_inside`, `order_by`, `visible`, `summable`, `default` ) VALUES
|
||||||
|
(NULL, (SELECT `id` FROM `zz_modules` WHERE `name` = 'Rivalse'), 'id', 'id', 1, 1, 0, 0, NULL, NULL, 0, 0, 1),
|
||||||
|
(NULL, (SELECT `id` FROM `zz_modules` WHERE `name` = 'Rivalse'), 'Descrizione', 'descrizione', 2, 1, 0, 0, NULL, NULL, 1, 0, 1),
|
||||||
|
(NULL, (SELECT `id` FROM `zz_modules` WHERE `name` = 'Rivalse'), 'Percentuale', 'percentuale', 3, 1, 0, 0, NULL, NULL, 1, 0, 1),
|
||||||
|
(NULL, (SELECT `id` FROM `zz_modules` WHERE `name` = 'Rivalse'), 'Indetraibile', 'indetraibile', 4, 1, 0, 0, NULL, NULL, 1, 0, 1);
|
@ -32,7 +32,7 @@ return [
|
|||||||
'co_righe_documenti',
|
'co_righe_documenti',
|
||||||
'co_righe_preventivi',
|
'co_righe_preventivi',
|
||||||
'co_ritenutaacconto',
|
'co_ritenutaacconto',
|
||||||
'co_rivalsainps',
|
'co_rivalse',
|
||||||
'co_scadenziario',
|
'co_scadenziario',
|
||||||
'co_staticontratti',
|
'co_staticontratti',
|
||||||
'co_statidocumento',
|
'co_statidocumento',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user