. */ include_once __DIR__.'/../../core.php'; $text = []; if (get('is_pagata') == 'true') { $text[] = 'Scadenze pagate'; } if (get('is_riba') == 'true') { $text[] = 'Ri.Ba'; } if (get('is_cliente') == 'true') { $text[] = 'Solo scadenze clienti'; } if (get('is_fornitore') == 'true') { $text[] = 'Solo scadenze fornitori'; } if (isset($id_record)) { echo '

'.tr('Scadenza _ANAG_', [ '_ANAG_' => $records[0]['Anagrafica'], ], ['upper' => true]).'

'; } elseif (!empty($date_start) and !empty($date_end)) { echo '

'.tr('Scadenze dal _START_ al _END_', [ '_START_' => Translator::dateToLocale($date_start), '_END_' => Translator::dateToLocale($date_end), ], ['upper' => true]).'

'.tr('_TEXT_', [ '_TEXT_' => (!empty($text) ? 'Include: '.implode(', ', $text) : ''), ]).'

'; } else { echo '

'.tr('Scadenze').'

'; } echo ' '; $somma_imponibile = []; $somma_sconto = []; $somma_totale_imponibile = [];
'.tr('Documento', [], ['upper' => true]).' '.tr('Anagrafica', [], ['upper' => true]).' '.tr('Tipo di pagamento', [], ['upper' => true]).' '.tr('Data scadenza', [], ['upper' => true]).' '.tr('Importo', [], ['upper' => true]).' '.tr('GiĆ  pagato', [], ['upper' => true]).'