1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-23 05:54:03 +01:00

Miglioramenti grafici

This commit is contained in:
Luca 2018-03-21 23:49:08 +01:00
parent d7015a5fa2
commit 13e86056c9
2 changed files with 51 additions and 9 deletions

View File

@ -276,11 +276,23 @@ span.form-control {
}
#pulsanti.affix {
background-color: #fff;
top: 0;
padding: 10px 0;
width: 100%;
z-index: 800;
-webkit-box-shadow: 0px 5px 10px -10px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 5px 10px -10px rgba(0,0,0,0.75);
box-shadow: 0px 5px 10px -10px rgba(0,0,0,0.75);
border-bottom:0.5px solid #ccc;
background: rgba(255,255,255,1);
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(47%, rgba(246,246,246,1)), color-stop(100%, rgba(237,237,237,1)));
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=0 );
}
/* Aggiustamenti per i widget */

View File

@ -23,15 +23,45 @@ if ($module['name'] == 'Ddt di vendita') {
</div>
<div class="panel-body">
<?php
if ($dir == 'entrata') {
$rs2 = $dbo->fetchArray('SELECT piva, codice_fiscale, citta, indirizzo, cap, provincia FROM an_anagrafiche WHERE idanagrafica='.prepare($records[0]['idanagrafica']));
$campi_mancanti = [];
if ($rs2[0]['piva'] == '') {
if ($rs2[0]['codice_fiscale'] == '') {
array_push($campi_mancanti, 'codice fiscale');
}
}
if ($rs2[0]['citta'] == '') {
array_push($campi_mancanti, 'citta');
}
if ($rs2[0]['indirizzo'] == '') {
array_push($campi_mancanti, 'indirizzo');
}
if ($rs2[0]['cap'] == '') {
array_push($campi_mancanti, 'C.A.P.');
}
if (sizeof($campi_mancanti) > 0) {
echo "<div class='alert alert-warning'><i class='fa fa-warning'></i> Prima di procedere alla stampa completa i seguenti campi dell'anagrafica:<br/><b>".implode(', ', $campi_mancanti).'</b><br/>
'.Modules::link('Anagrafiche', $records[0]['idanagrafica'], tr('Vai alla scheda anagrafica'), null).'</div>';
}
}
?>
<div class="row">
<?php
if ($dir == 'uscita') {
<?php
if ($dir == 'uscita') {
echo '
<div class="col-md-3">
{[ "type": "span", "label": "'.tr('Numero ddt').'", "class": "text-center", "value": "$numero$" ]}
</div>';
}
?>
}
?>
<div class="col-md-3">
{[ "type": "text", "label": "<?php echo tr('Numero secondario'); ?>", "name": "numero_esterno", "class": "text-center", "value": "$numero_esterno$" ]}