mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 19:40:44 +01:00
Miglioramento riferimenti in import FE
This commit is contained in:
parent
1007b6d984
commit
9795886369
@ -353,11 +353,14 @@ switch (filter('op')) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($dato['DataDDT'])) {
|
||||
$dati_ddt[(int)$linea] = [
|
||||
'numero' => $dato['NumeroDDT'],
|
||||
'anno' => ( new Carbon($dato['DataDDT']) )->format('Y'),
|
||||
];
|
||||
}
|
||||
}
|
||||
} else {
|
||||
foreach ($replaces as $replace) {
|
||||
if(string_starts_with($dato['NumeroDDT'], $replace)) {
|
||||
@ -365,12 +368,14 @@ switch (filter('op')) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!empty($dato['DataDDT'])) {
|
||||
$dati_ddt[(int)$dato['RiferimentoNumeroLinea']] = [
|
||||
'numero' => $dato['NumeroDDT'],
|
||||
'anno' => ( new Carbon($dato['DataDDT']) )->format('Y'),
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Iterazione sulle singole righe
|
||||
$righe = $fattura_pa->getRighe();
|
||||
|
Loading…
x
Reference in New Issue
Block a user