mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-13 10:00:49 +01:00
Miglioria stampa provvigione
This commit is contained in:
parent
8a485ca14b
commit
5f1f5d525f
@ -24,6 +24,13 @@ $agente = Anagrafica::where([
|
|||||||
['idanagrafica', '=', $id_record],
|
['idanagrafica', '=', $id_record],
|
||||||
])->first();
|
])->first();
|
||||||
|
|
||||||
|
if(get('is_parz_pagata')=='true'){
|
||||||
|
$text[] = "'Parzialmente pagato'";
|
||||||
|
}
|
||||||
|
if(get('is_emessa')=='true'){
|
||||||
|
$text[] = "'Emessa'";
|
||||||
|
}
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
<h4><b>'.tr('Liquidazione provvigioni agente _ANAG_', [
|
<h4><b>'.tr('Liquidazione provvigioni agente _ANAG_', [
|
||||||
'_ANAG_' => $agente->ragione_sociale,
|
'_ANAG_' => $agente->ragione_sociale,
|
||||||
@ -43,6 +50,12 @@ if(!empty($date_start) AND !empty($date_end)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
|
<p style="color:#aaa; font-size:10px;" class="text-right">
|
||||||
|
'.tr("_TEXT_",
|
||||||
|
[
|
||||||
|
"_TEXT_" => (empty($text) ? 'Solo fatture con stato \'Pagato\'' : 'Include fatture con stato \'Pagato\', '.implode(', ', $text)),
|
||||||
|
]).'
|
||||||
|
</p>
|
||||||
<table class="table table-striped table-bordered" id="contents">
|
<table class="table table-striped table-bordered" id="contents">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user