b4cd4c05f2
fix: update total price info handling in correction form and ensure accurate calculations refactor: streamline sale invoice single view component by extracting info card into a separate component style: adjust button sizes in payment forms for better UI consistency feat: implement season picker navigation controls to prevent out-of-bounds selection fix: improve price formatting utility to handle undefined values gracefully chore: update environment configuration for API base URL feat: add navigation service to manage routing history and back navigation
30 lines
937 B
HTML
30 lines
937 B
HTML
@if (rendered) {
|
|
<div class="light-bottomsheet-mask" (click)="onMaskClick()"></div>
|
|
|
|
<section class="light-bottomsheet-panel" [ngStyle]="style || { 'max-height': mobileDrawerHeight, height: 'auto' }">
|
|
<div class="light-bottomsheet-content">
|
|
@if (header || closable) {
|
|
<header class="light-bottomsheet-header border-surface-border border-b">
|
|
<span class="text-xl font-bold">{{ header }}</span>
|
|
@if (closable) {
|
|
<p-button
|
|
type="button"
|
|
icon="pi pi-times"
|
|
text
|
|
size="small"
|
|
class="light-bottomsheet-close"
|
|
(click)="onVisibilityChange(false)"
|
|
aria-label="Close">
|
|
</p-button>
|
|
}
|
|
</header>
|
|
}
|
|
<div class="light-bottomsheet-body p-4">
|
|
@if (contentRendered) {
|
|
<ng-content></ng-content>
|
|
}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
}
|