1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-26 07:44:02 +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'; include_once __DIR__.'/../../../core.php';
use Modules\Anagrafiche\Anagrafica;
echo ' echo '
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"> <div class="panel-heading">
@ -103,6 +105,7 @@ if (!empty($movimenti)) {
<th class="text-center" width="120">'.tr('Q.').'</th> <th class="text-center" width="120">'.tr('Q.').'</th>
<th class="text-center">'.tr('Q. progressiva').'</th> <th class="text-center">'.tr('Q. progressiva').'</th>
<th>'.tr('Operazione').'</th> <th>'.tr('Operazione').'</th>
<th>'.tr('Controparte').'</th>
<th class="text-center">'.tr('Sede').'</th> <th class="text-center">'.tr('Sede').'</th>
<th class="text-center" width="120">'.tr('Data').'</th> <th class="text-center" width="120">'.tr('Data').'</th>
<th class="text-center" width="80">#</th> <th class="text-center" width="80">#</th>
@ -133,11 +136,12 @@ if (!empty($movimenti)) {
<i class="fa fa-arrow-circle-right"></i> <i class="fa fa-arrow-circle-right"></i>
'.numberFormat($movimento['progressivo_finale'], 'qta').' '.$record['um'].' '.numberFormat($movimento['progressivo_finale'], 'qta').' '.$record['um'].'
</td> </td>
<td> <td>
'.$movimento->descrizione.''.($movimento->hasDocument() ? ' - '.reference($movimento->getDocument()) : '').' '.$movimento->descrizione.''.($movimento->hasDocument() ? ' - '.reference($movimento->getDocument()) : '').'
</td> </td>
<td>
'.Anagrafica::find($movimento->getDocument()->idanagrafica)->ragione_sociale.'
</td>
<td class="text-center"> <td class="text-center">
'.($movimento->nomesede ?: tr('Sede legale')).' '.($movimento->nomesede ?: tr('Sede legale')).'
</td>'; </td>';