mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 04:20:50 +01:00
Fix avviso numero duplicato
This commit is contained in:
parent
0e7f05a4fc
commit
2e9ec127d8
@ -242,7 +242,7 @@ switch ($op) {
|
|||||||
->where('id', '!=', $id_record)
|
->where('id', '!=', $id_record)
|
||||||
->where('data', '>=', $_SESSION['period_start'])
|
->where('data', '>=', $_SESSION['period_start'])
|
||||||
->where('data', '<=', $_SESSION['period_end'])
|
->where('data', '<=', $_SESSION['period_end'])
|
||||||
->where('numero_esterno', '!=', null)
|
->where('numero_esterno', '!=', '')
|
||||||
->whereHas('tipo', function ($query) use ($direzione) {
|
->whereHas('tipo', function ($query) use ($direzione) {
|
||||||
$query->where('dir', '=', $direzione);
|
$query->where('dir', '=', $direzione);
|
||||||
})->count();
|
})->count();
|
||||||
|
@ -67,4 +67,7 @@ INSERT INTO `zz_widgets` (`id`, `name`, `type`, `id_module`, `location`, `class`
|
|||||||
INSERT INTO `zz_views` (`id_module`, `name`, `query`, `order`, `search`, `slow`, `format`, `html_format`, `search_inside`, `order_by`, `visible`, `summable`, `default`) VALUES ((SELECT `id` FROM `zz_modules` WHERE `name` = 'Articoli'), '_bg_', 'IF(threshold_qta!=0, IF(mg_articoli.qta>threshold_qta, \'#CCFFCC\', \'#FFCCEB\'), \'\')', '14', '0', '0', '0', '0', '', '', '0', '0', '0');
|
INSERT INTO `zz_views` (`id_module`, `name`, `query`, `order`, `search`, `slow`, `format`, `html_format`, `search_inside`, `order_by`, `visible`, `summable`, `default`) VALUES ((SELECT `id` FROM `zz_modules` WHERE `name` = 'Articoli'), '_bg_', 'IF(threshold_qta!=0, IF(mg_articoli.qta>threshold_qta, \'#CCFFCC\', \'#FFCCEB\'), \'\')', '14', '0', '0', '0', '0', '', '', '0', '0', '0');
|
||||||
|
|
||||||
-- Aggiunto titolo righe preventivi
|
-- Aggiunto titolo righe preventivi
|
||||||
ALTER TABLE `co_righe_preventivi` ADD `is_titolo` BOOLEAN NOT NULL AFTER `confermato`;
|
ALTER TABLE `co_righe_preventivi` ADD `is_titolo` BOOLEAN NOT NULL AFTER `confermato`;
|
||||||
|
|
||||||
|
ALTER TABLE `co_documenti` CHANGE `numero_esterno` `numero_esterno` VARCHAR(100) NOT NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user