Add customer search dialog and sponsor DD/reconciliation modules
Adds sponsor-dd and sponsor-dd-reconciliation feature modules, a shared customer search dialog, and wires them into routing/shell/ organization screens alongside cashier and deposit-request updates.
This commit is contained in:
@@ -117,6 +117,7 @@ import { ViewLoanOriginatorComponent } from './loan-originators/view-loan-origin
|
||||
import { EditLoanOriginatorComponent } from './loan-originators/edit-loan-originator/edit-loan-originator.component';
|
||||
import { CreateLoanOriginatorComponent } from './loan-originators/create-loan-originator/create-loan-originator.component';
|
||||
import { LoanOriginatorsTemplateResolver } from './loan-originators/loan-originators-template.resolver';
|
||||
import { SponsorBankListComponent } from '../sponsor-dd/sponsor-bank-list/sponsor-bank-list.component';
|
||||
|
||||
/** Organization Routes */
|
||||
const routes: Routes = [
|
||||
@@ -553,6 +554,11 @@ const routes: Routes = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'sponsor-banks',
|
||||
component: SponsorBankListComponent,
|
||||
data: { title: 'Sponsor Banks', breadcrumb: 'Sponsor Banks' }
|
||||
},
|
||||
{
|
||||
path: 'password-preferences',
|
||||
component: PasswordPreferencesComponent,
|
||||
|
||||
@@ -228,6 +228,34 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sponsor Banks -->
|
||||
<div>
|
||||
<a class="org-card" [routerLink]="['sponsor-banks']">
|
||||
<div class="org-card__icon org-card__icon--emerald">
|
||||
<i class="fas fa-university"></i>
|
||||
</div>
|
||||
<div class="org-card__body">
|
||||
<h3 class="org-card__title">Sponsor Banks</h3>
|
||||
<p class="org-card__desc">Manage banks on whose behalf demand drafts are issued</p>
|
||||
</div>
|
||||
<i class="fas fa-chevron-right org-card__arrow"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sponsor DD GST / GL Settings -->
|
||||
<div>
|
||||
<a class="org-card" (click)="openGstGlSettings()">
|
||||
<div class="org-card__icon org-card__icon--emerald">
|
||||
<i class="fas fa-percentage"></i>
|
||||
</div>
|
||||
<div class="org-card__body">
|
||||
<h3 class="org-card__title">Sponsor DD GST / GL Settings</h3>
|
||||
<p class="org-card__desc">Set the GST rate charged on DD issuance commission, and its GL account</p>
|
||||
</div>
|
||||
<i class="fas fa-chevron-right org-card__arrow"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Loan Provisioning Criteria -->
|
||||
<div #provisioning>
|
||||
<a class="org-card" [routerLink]="['provisioning-criteria']" *mifosxHasPermission="'VIEW_PROVISIONS'">
|
||||
|
||||
@@ -9,11 +9,13 @@
|
||||
/** Angular Imports */
|
||||
import { AfterViewInit, Component, ElementRef, TemplateRef, ViewChild, inject } from '@angular/core';
|
||||
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Services */
|
||||
import { ConfigurationWizardService } from '../configuration-wizard/configuration-wizard.service';
|
||||
import { PopoverService } from '../configuration-wizard/popover/popover.service';
|
||||
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
||||
import { GlSettingsDialogComponent } from '../sponsor-dd/gl-settings-dialog/gl-settings-dialog.component';
|
||||
|
||||
/**
|
||||
* Organization component.
|
||||
@@ -31,6 +33,7 @@ export class OrganizationComponent implements AfterViewInit {
|
||||
private router = inject(Router);
|
||||
private configurationWizardService = inject(ConfigurationWizardService);
|
||||
private popoverService = inject(PopoverService);
|
||||
private dialog = inject(MatDialog);
|
||||
|
||||
shouldShowFundMapping = false;
|
||||
/* Reference of manage offices */
|
||||
@@ -214,4 +217,13 @@ export class OrganizationComponent implements AfterViewInit {
|
||||
this.configurationWizardService.showRecurringDepositProductsList = true;
|
||||
this.router.navigate(['/products/recurring-deposit-products']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Opens the Sponsor DD GST / GL Settings dialog (GST rate + GL account assignments).
|
||||
*/
|
||||
openGstGlSettings(): void {
|
||||
this.dialog.open(GlSettingsDialogComponent, {
|
||||
width: '450px'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user