feat: enhance inner pages header with back button functionality and emit event on back click

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
This commit is contained in:
2026-06-11 16:13:48 +03:30
parent 88f45eee38
commit b4cd4c05f2
28 changed files with 526 additions and 310 deletions
@@ -1,6 +1,6 @@
import { Maybe } from '@/core';
import { NgTemplateOutlet } from '@angular/common';
import { Component, ContentChild, Input, TemplateRef } from '@angular/core';
import { Component, ContentChild, EventEmitter, Input, Output, TemplateRef } from '@angular/core';
import { RouterLink, UrlTree } from '@angular/router';
import { Button } from 'primeng/button';
@@ -12,6 +12,7 @@ import { Button } from 'primeng/button';
export class InnerPagesHeaderComponent {
@Input() pageTitle!: string;
@Input() backRoute?: UrlTree | string | any[];
@Output() onBackClick = new EventEmitter<void>();
@ContentChild('actions', { static: true }) actions?: Maybe<TemplateRef<any>>;
constructor() {}
}