1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-08 22:01:25 +01:00

Fix minori

This commit is contained in:
Luca 2018-07-05 17:23:21 +02:00
parent 9966795349
commit ac9217e990
2 changed files with 6 additions and 6 deletions

View File

@ -21,13 +21,13 @@ if (in_array($id_cliente, $tipi_anagrafica)) {
'.tr('Nuovo contratto').'
</a></li>
<li><a data-toggle="modal" data-title="'.tr('Aggiungi ddt').'" data-target="#bs-popup" data-href="add.php?id_module='.Modules::get('Ddt di vendita')['id'].'&idanagrafica='.$records[0]['idanagrafica'].'">
'.tr('Nuovo ddt').'
</a></li>
<li><a data-toggle="modal" data-title="'.tr('Aggiungi ordine').'" data-target="#bs-popup" data-href="add.php?id_module='.Modules::get('Ordini cliente')['id'].'&idanagrafica='.$records[0]['idanagrafica'].'">
'.tr('Nuovo ordine').'
</a></li>
<li><a data-toggle="modal" data-title="'.tr('Aggiungi ddt').'" data-target="#bs-popup" data-href="add.php?id_module='.Modules::get('Ddt di vendita')['id'].'&idanagrafica='.$records[0]['idanagrafica'].'">
'.tr('Nuovo ddt').'
</a></li>
<li><a data-toggle="modal" data-title="'.tr('Aggiungi fattura').'" data-target="#bs-popup" data-href="add.php?id_module='.Modules::get('Fatture di vendita')['id'].'&idanagrafica='.$records[0]['idanagrafica'].'">
'.tr('Nuova fattura').'

View File

@ -140,7 +140,7 @@ foreach ($righe as $r) {
if ($r['sconto'] > 0) {
echo "
<br><small class='text-muted'>- ".tr('sconto _TOT_ _TYPE_', [
<br><small class='text-muted'>".tr('sconto _TOT_ _TYPE_', [
'_TOT_' => Translator::numberToLocale($r['sconto_unitario']),
'_TYPE_' => ($r['tipo_sconto'] == 'PRC' ? '%' : '&euro;'),
]).'</small>';
@ -163,7 +163,7 @@ foreach ($righe as $r) {
if ($r['sconto'] > 0) {
echo "
<br><small class='text-muted'>".tr('sconto di _TOT_ _TYPE_', [
<br><small class='text-muted'>".tr('sconto _TOT_ _TYPE_', [
'_TOT_' => Translator::numberToLocale($r['sconto']),
'_TYPE_' => '&euro;',
]).'</small>';