1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-24 14:31:42 +01:00

Aggiunta Controparte in plugin Movimenti

This commit is contained in:
Pek5892 2024-02-26 08:52:46 +01:00
parent 1bb7878a06
commit 17e004f0f7

View File

@ -19,6 +19,8 @@
include_once __DIR__.'/../../../core.php';
use Modules\Anagrafiche\Anagrafica;
echo '
<div class="panel panel-primary">
<div class="panel-heading">
@ -103,6 +105,7 @@ if (!empty($movimenti)) {
<th class="text-center" width="120">'.tr('Q.').'</th>
<th class="text-center">'.tr('Q. progressiva').'</th>
<th>'.tr('Operazione').'</th>
<th>'.tr('Controparte').'</th>
<th class="text-center">'.tr('Sede').'</th>
<th class="text-center" width="120">'.tr('Data').'</th>
<th class="text-center" width="80">#</th>
@ -133,11 +136,12 @@ if (!empty($movimenti)) {
<i class="fa fa-arrow-circle-right"></i>
'.numberFormat($movimento['progressivo_finale'], 'qta').' '.$record['um'].'
</td>
<td>
'.$movimento->descrizione.''.($movimento->hasDocument() ? ' - '.reference($movimento->getDocument()) : '').'
</td>
<td>
'.Anagrafica::find($movimento->getDocument()->idanagrafica)->ragione_sociale.'
</td>
<td class="text-center">
'.($movimento->nomesede ?: tr('Sede legale')).'
</td>';