feat(back-end and front-end) cad bill with order

This commit is contained in:
2026-03-04 12:03:09 +01:00
parent 0f2f2bc7a9
commit 1b3f0b16ff
43 changed files with 1594 additions and 150 deletions

View File

@@ -162,6 +162,22 @@ export class CheckoutComponent implements OnInit {
});
}
isCadSession(): boolean {
return this.quoteSession()?.session?.status === 'CAD_ACTIVE';
}
cadRequestId(): string | null {
return this.quoteSession()?.session?.sourceRequestId ?? null;
}
cadHours(): number {
return this.quoteSession()?.session?.cadHours ?? 0;
}
cadTotal(): number {
return this.quoteSession()?.cadTotalChf ?? 0;
}
onSubmit() {
if (this.checkoutForm.invalid) {
return;