mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 20:10:50 +01:00
Fix stampe Automezzi
This commit is contained in:
parent
ef08d0665d
commit
211e1f279f
@ -12,7 +12,13 @@ if ($rs) {
|
||||
if ($targa != '') {
|
||||
echo "
|
||||
<table cellspacing='0' style='table-layout:fixed;'>
|
||||
<col width='35'><col width='275'><col width='50'><col width='70'><col width='45'><col width='65'><col width='65'>
|
||||
<col width='35'>
|
||||
<col width='275'>
|
||||
<col width='50'>
|
||||
<col width='70'>
|
||||
<col width='45'>
|
||||
<col width='65'>
|
||||
<col width='65'>
|
||||
<tr>
|
||||
<td class='first_cell cell-padded'>".' '."</td>
|
||||
<td class='table_cell cell-padded'>".' '."</td>
|
||||
@ -74,13 +80,12 @@ if ($rs) {
|
||||
$totale_qta = $totale_qta + $rs[$r]['qta'];
|
||||
}
|
||||
}
|
||||
echo '
|
||||
</table>';
|
||||
} else {
|
||||
echo 'Nessun articolo caricato sugli automezzi il '.date('d/m/Y', strtotime((string) $dt_carico)),'.';
|
||||
}
|
||||
|
||||
echo '
|
||||
</table>';
|
||||
|
||||
if ($targa != '') {
|
||||
echo "
|
||||
<table cellspacing='0' style='table-layout:fixed;'>
|
||||
|
@ -25,8 +25,8 @@ $where = [];
|
||||
$search_targa = get('search_targa');
|
||||
$search_nome = get('search_nome');
|
||||
|
||||
$where[] = 'movimenti.qta > 0';
|
||||
$where[] = 'movimenti.qta > 0';
|
||||
$where[] = 'mg_movimenti.qta > 0';
|
||||
|
||||
if ($search_targa) {
|
||||
$where[] = 'an_sedi.targa like '.prepare('%'.$search_targa.'%');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user