mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Importazione Interventi tramite classi
Fix versione da database.
This commit is contained in:
@@ -187,7 +187,7 @@ class FatturaElettronica
|
||||
]));
|
||||
}
|
||||
|
||||
public function findAnagrafica()
|
||||
public function findAnagrafica($type = 'Fornitore')
|
||||
{
|
||||
$info = $this->getAnagrafe();
|
||||
|
||||
@@ -217,7 +217,7 @@ class FatturaElettronica
|
||||
*/
|
||||
public function saveAnagrafica($type = 'Fornitore')
|
||||
{
|
||||
$anagrafica = $this->findAnagrafica();
|
||||
$anagrafica = $this->findAnagrafica($type);
|
||||
|
||||
if (!empty($anagrafica)) {
|
||||
return $anagrafica;
|
||||
|
||||
Reference in New Issue
Block a user