feat: enhance order submission flow and UI improvements
- Updated categories component to improve loading state and category display. - Modified order section to handle payment submission with event payload. - Refactored payment form dialog to emit order response on successful payment. - Adjusted order response model to enforce required fields. - Improved root component layout and added success dialog for order submission. - Enhanced sale invoice card component to use new TSP API methods. - Updated API routes for sale invoices to reflect TSP changes. - Improved user interface for business activities and partners sections. - Added card shadow styling for better visual hierarchy. - Introduced new order submitted dialog component for post-order actions. - Cleaned up console logs and improved code readability across components.
This commit is contained in:
@@ -14,6 +14,7 @@ import {
|
||||
signal,
|
||||
TemplateRef,
|
||||
} from '@angular/core';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { ButtonModule } from 'primeng/button';
|
||||
import { DrawerModule } from 'primeng/drawer';
|
||||
import { PaginatorModule } from 'primeng/paginator';
|
||||
@@ -85,6 +86,7 @@ export interface IColumn<T = any> {
|
||||
AppPageDataListTableView,
|
||||
AppPageDataListGridView,
|
||||
UikitEmptyStateComponent,
|
||||
RouterLink,
|
||||
],
|
||||
})
|
||||
export class PageDataListComponent<I = any> {
|
||||
@@ -117,6 +119,8 @@ export class PageDataListComponent<I = any> {
|
||||
@Input() expandColumns?: Maybe<IColumn[]> = null;
|
||||
@Input() dataKey?: string = 'items';
|
||||
@Input() showIndex?: boolean = true;
|
||||
@Input() showAll?: boolean = false;
|
||||
@Input() allItemsPageRoute?: string;
|
||||
|
||||
@ContentChild('filter', { static: true }) filter!: TemplateRef<any> | null;
|
||||
@ContentChild('caption', { static: true }) caption!: TemplateRef<any> | null;
|
||||
|
||||
Reference in New Issue
Block a user