Migliorie minori

This commit is contained in:
Luca 2018-12-19 23:53:02 +01:00
parent 2279eadb8e
commit 1b3eb3ccc4
4 changed files with 14 additions and 9 deletions

View File

@ -151,7 +151,7 @@ function search(button) {
<label><input type="file" name="blob" id="blob"></label>
<button type="button" class="btn btn-primary pull-right" onclick="update()">
<i class="fa fa-upload"></i> '.tr('Carica').'...
<i class="fa fa-upload"></i> '.tr('Carica').'
</button>
</form>
</div>

View File

@ -57,7 +57,12 @@ echo '
<div class="box box-success">
<div class="box-header with-border">
<h3 class="box-title">
'.tr('Carica un XML').'</span>
'.tr('Carica un XML').'
<span class="tip" title="'.tr("Formati supportati: XML e P7M").'.">
<i class="fa fa-question-circle-o"></i>
</span>
</h3>
</div>
<div class="box-body" id="upload">
@ -67,8 +72,8 @@ echo '
</div>
<div class="col-md-3">
<button type="button" class="btn btn-primary btn-lg pull-right" onclick="upload(this)">
<i class="fa fa-upload"></i> '.tr('Carica').'...
<button type="button" class="btn btn-primary pull-right" onclick="upload(this)">
<i class="fa fa-upload"></i> '.tr('Carica fattura di acquisto').'
</button>
</div>
</div>
@ -83,7 +88,7 @@ if (Interaction::isEnabled()) {
'.tr('Importazione automatica').'</span>
</h3>
<button type="button" class="btn btn-primary pull-right" onclick="search(this)">
<i class="fa fa-refresh"></i> '.tr('Ricerca').'...
<i class="fa fa-refresh"></i> '.tr('Ricerca fatture di acquisto').'
</button>
</div>
<div class="box-body" id="list">';

View File

@ -23,7 +23,7 @@ if (!empty($list)) {
<td>'.$element.'</td>
<td>
<button type="button" class="btn btn-warning" onclick="download(this, \''.$element.'\')">
<i class="fa fa-download"></i> '.tr('Importa').'
<i class="fa fa-download"></i> '.tr('Importa fattura di acquisto').'
</button>
</td>
</tr>';

View File

@ -79,11 +79,11 @@ if (!empty($righe)) {
<table class="table table-hover table-striped table-condensed">
<tr>
<th>'.tr('Descrizione').'</th>
<th width="5%">'.tr('Q.').'</th>
<th width="10%">'.tr('Q.').'</th>
<th width="10%">'.tr('Prezzo unitario').'</th>
<th width="15%">'.tr('Iva associata').'*</th>
<th width="15%">'.tr('Conto').'*</th>
<th width="20%">'.tr('Articolo associato').'</th>
<th width="25%">'.tr('Articolo').'</th>
</tr>';
foreach ($righe as $key => $riga) {
@ -107,7 +107,7 @@ if (!empty($righe)) {
{[ "type": "select", "name": "conto['.$key.']", "ajax-source": "conti-acquisti", "required": 1 ]}
</td>
<td>
{[ "type": "select", "name": "articoli['.$key.']", "ajax-source": "articoli", "icon-after": "add|'.Modules::get("Articoli")["id"].'" ]}
{[ "type": "select", "name": "articoli['.$key.']", "ajax-source": "articoli", "class": "", "icon-after": "add|'.Modules::get("Articoli")["id"].'" ]}
</td>
</tr>';
}