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:
baodev0
2026-10-19 16:37:56 +07:00
co-authored by Claude Sonnet 5.5
parent ea9a53f742
commit 25f23d541e
134 changed files with 4926 additions and 185 deletions
@@ -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');
}