mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-18 09:18:40 +00:00
bug fixes and subscription improvements
This commit is contained in:
parent
63cf7e8c3b
commit
2eacbaadc0
|
|
@ -674,7 +674,7 @@ final class ApiBillController extends Controller
|
|||
->where('id', $billTypeId)
|
||||
->execute();
|
||||
|
||||
$templateId = $billType->defaultTemplate->getId();
|
||||
$templateId = $billType->defaultTemplate?->getId();
|
||||
}
|
||||
|
||||
/** @var \Modules\Media\Models\Collection $template */
|
||||
|
|
@ -806,7 +806,7 @@ final class ApiBillController extends Controller
|
|||
->where('id', $billTypeId)
|
||||
->execute();
|
||||
|
||||
$templateId = $billType->defaultTemplate->getId();
|
||||
$templateId = $billType->defaultTemplate?->getId();
|
||||
}
|
||||
|
||||
/** @var \Modules\Media\Models\Collection $template */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user