FIX: Check if invoice exists before sending, if exists then save

Send correct UF amount if date in future
This commit is contained in:
Juan Pablo Vial
2025-05-16 14:36:20 -04:00
parent 8ba54fd3ad
commit 8ce7d2570d
5 changed files with 45 additions and 12 deletions

View File

@ -70,7 +70,7 @@ class Subscription extends AbstractEndPoint
return compact('existingSubscriptions', 'missingVentas');
}
protected function save(array $data): bool
public function save(array $data): bool
{
return $this->doSave($this->subscriptionRepsitory, $data);
}