feat: add refresh functionality to various components
- Implemented refresh event emission in multiple list components across partner and superAdmin modules. - Updated consumers and customers list components to handle refresh actions. - Enhanced dashboard component to fetch partner info on initialization. - Introduced new API method in PartnerService to retrieve current partner data. - Modified PartnerStore to utilize the new API method for fetching partner information. - Updated UI elements to reflect changes in partner and license management, including new fields for license renewals. - Added a new POS display component for better presentation of POS terminal information. - Updated layout service and top bar to reflect new titles and improve user experience. - Refactored existing components to ensure consistency and maintainability.
This commit is contained in:
@@ -28,7 +28,9 @@ export class AppTopbar {
|
||||
}
|
||||
|
||||
username = computed(() => this.authService.currentAccount()?.username || 'کاربر ناشناس');
|
||||
panelTitle = computed(() => this.layoutService.panelInfo()?.title || 'پنل مدیریت کسبوکار');
|
||||
panelTitle = computed(
|
||||
() => this.layoutService.panelInfo()?.title || 'پنل مدیریت صورتحسابهای مالیاتی',
|
||||
);
|
||||
|
||||
logout = () => {
|
||||
this.authService.logout();
|
||||
|
||||
@@ -64,7 +64,7 @@ export class LayoutService {
|
||||
public menuItems = signal<MenuItem[]>([]);
|
||||
|
||||
public panelInfo = signal<IPanelInfo>({
|
||||
title: 'پنل مدیریت کسبوکار',
|
||||
title: 'پنل مدیریت صورتحسابهای مالیاتی',
|
||||
});
|
||||
|
||||
menuSource$ = this.menuSource.asObservable();
|
||||
|
||||
Reference in New Issue
Block a user