feat(billing): renewals, coupons, VAT numbering, billing cycles and invoice payment tracking
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
ea9a53f742
commit
25f23d541e
@@ -14,6 +14,7 @@ use App\Models\Product;
|
||||
use App\Models\Service;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use App\Support\VatNumbering;
|
||||
|
||||
class ServiceOrderRecorder
|
||||
{
|
||||
@@ -84,6 +85,8 @@ class ServiceOrderRecorder
|
||||
'total_price' => $price,
|
||||
]);
|
||||
|
||||
VatNumbering::settle($invoice);
|
||||
|
||||
return compact('order', 'orderItem', 'invoice');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user