Update rows.php
This commit is contained in:
parent
07bb512f38
commit
2279eadb8e
|
@ -71,18 +71,19 @@ if (!empty($righe)) {
|
||||||
echo '
|
echo '
|
||||||
<h4>
|
<h4>
|
||||||
'.tr('Righe').'
|
'.tr('Righe').'
|
||||||
<button type="button" class="btn btn-warning btn small pull-right" onclick="copy()"><i class="fa fa-copy"></i> '.tr('Copia IVA e conto da prima riga').'</button>
|
<button type="button" class="btn btn-info btn-sm pull-right" onclick="copy()"><i class="fa fa-copy"></i> '.tr('Copia IVA e conto da prima riga').'</button>
|
||||||
|
<div class="clearfix"></div>
|
||||||
</h4>
|
</h4>
|
||||||
|
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover table-striped table-condensed">
|
<table class="table table-hover table-striped table-condensed">
|
||||||
<tr>
|
<tr>
|
||||||
<th>'.tr('Descrizione').'</th>
|
<th>'.tr('Descrizione').'</th>
|
||||||
<th width="10%">'.tr('Q.tà').'</th>
|
<th width="5%">'.tr('Q.tà').'</th>
|
||||||
<th width="15%">'.tr('Prezzo unitario').'</th>
|
<th width="10%">'.tr('Prezzo unitario').'</th>
|
||||||
<th width="15%">'.tr('Iva associata').'*</th>
|
<th width="15%">'.tr('Iva associata').'*</th>
|
||||||
<th width="15%">'.tr('Conto').'*</th>
|
<th width="15%">'.tr('Conto').'*</th>
|
||||||
<th width="15%">'.tr('Articolo associato').'</th>
|
<th width="20%">'.tr('Articolo associato').'</th>
|
||||||
</tr>';
|
</tr>';
|
||||||
|
|
||||||
foreach ($righe as $key => $riga) {
|
foreach ($righe as $key => $riga) {
|
||||||
|
@ -106,7 +107,7 @@ if (!empty($righe)) {
|
||||||
{[ "type": "select", "name": "conto['.$key.']", "ajax-source": "conti-acquisti", "required": 1 ]}
|
{[ "type": "select", "name": "conto['.$key.']", "ajax-source": "conti-acquisti", "required": 1 ]}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{[ "type": "select", "name": "articoli['.$key.']", "ajax-source": "articoli" ]}
|
{[ "type": "select", "name": "articoli['.$key.']", "ajax-source": "articoli", "icon-after": "add|'.Modules::get("Articoli")["id"].'" ]}
|
||||||
</td>
|
</td>
|
||||||
</tr>';
|
</tr>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue