Fix in products view routes (#1643)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
f330e91aa4
commit
a56347d400
@@ -1,6 +1,6 @@
|
||||
<div class="container m-b-20" fxLayout="row" fxLayoutAlign="end" fxLayoutGap="20px">
|
||||
<button mat-raised-button color="primary" [routerLink]="['create']" *mifosxHasPermission="'CREATE_ADHOC'">
|
||||
<fa-icon icon="plus"></fa-icon>
|
||||
<fa-icon icon="plus" class="m-r-10"></fa-icon>
|
||||
Create AdHoc Query
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div fxLayout="row" fxLayoutAlign="end" fxLayoutGap="2%" fxLayout.lt-md="column" class="container m-b-20">
|
||||
<button mat-raised-button color="primary" [routerLink]="['edit']" *mifosxHasPermission="'UPDATE_ADHOC'">
|
||||
<fa-icon icon="edit"></fa-icon>
|
||||
<fa-icon icon="edit" class="m-r-10"></fa-icon>
|
||||
Edit
|
||||
</button>
|
||||
<button mat-raised-button color="warn" (click)="deleteAdhocQuery()" *mifosxHasPermission="'DELETE_ADHOC'">
|
||||
<fa-icon icon="trash"></fa-icon>
|
||||
<fa-icon icon="trash" class="m-r-10"></fa-icon>
|
||||
Delete
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="container m-b-20" fxLayout="row" fxLayoutAlign="end" fxLayoutGap="20px">
|
||||
<div #buttonAddEdit class="in-block">
|
||||
<button mat-raised-button color="primary" [routerLink]="'manage'" *mifosxHasPermission="'UPDATE_CURRENCY'">
|
||||
<fa-icon icon="plus"></fa-icon>
|
||||
<fa-icon icon="plus" class="m-r-10"></fa-icon>
|
||||
Add/Edit
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
<div #buttonImportEmployees>
|
||||
<button mat-raised-button color="primary" *mifosxHasPermission="'CREATE_STAFF'" [routerLink]="['/', 'organization', 'bulk-import', 'Employees']">
|
||||
<fa-icon icon="upload"></fa-icon>
|
||||
<fa-icon icon="upload" class="m-r-10"></fa-icon>
|
||||
Import Employees
|
||||
</button>
|
||||
</div>
|
||||
<div #buttonCreateEmployee>
|
||||
<button mat-raised-button color="primary" [routerLink]="['create']" *mifosxHasPermission="'CREATE_STAFF'">
|
||||
<fa-icon icon="plus"></fa-icon>
|
||||
<fa-icon icon="plus" class="m-r-10"></fa-icon>
|
||||
Create Employee
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="container m-b-20" fxLayout="row" fxLayoutAlign="end" fxLayoutGap="20px">
|
||||
<button mat-raised-button color="primary" [routerLink]="['edit']" *mifosxHasPermission="'UPDATE_STAFF'">
|
||||
<fa-icon icon="edit"></fa-icon>
|
||||
<fa-icon icon="edit" class="m-r-10"></fa-icon>
|
||||
Edit
|
||||
</button>
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<div class="container m-b-20" fxLayout="row" fxLayoutAlign="end" fxLayoutGap="20px">
|
||||
|
||||
<button mat-raised-button color="primary" [routerLink]="['create']" *mifosxHasPermission="'CREATE_ENTITY_DATATABLE_CHECK'">
|
||||
<fa-icon icon="plus"></fa-icon>
|
||||
<fa-icon icon="plus" class="m-r-10"></fa-icon>
|
||||
Create
|
||||
</button>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Actions </th>
|
||||
<td mat-cell *matCellDef="let entityDataTableCheck">
|
||||
<button mat-button (click)="deleteEntityDataTableCheck(entityDataTableCheck.id)" color="warn" *mifosxHasPermission="'DELETE_ENTITY_DATATABLE_CHECK'">
|
||||
<fa-icon icon="trash"></fa-icon> Delete
|
||||
<fa-icon icon="trash" class="m-r-10"></fa-icon>Delete
|
||||
</button>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<div #buttonCreateHoliday class="in-block">
|
||||
<button mat-raised-button color="primary" [routerLink]="['create']" *mifosxHasPermission="'CREATE_HOLIDAY'">
|
||||
<fa-icon icon="plus"></fa-icon>
|
||||
<fa-icon icon="plus" class="m-r-10"></fa-icon>
|
||||
Create Holiday
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<div fxLayout="row" fxLayoutAlign="end" fxLayoutGap="2%" fxLayout.lt-md="column" class="container m-b-20">
|
||||
<span *mifosxHasPermission="'ACTIVATE_HOLIDAY'">
|
||||
<button mat-raised-button color="accent" (click)="activateHoliday()" *ngIf="holidayData.status.value !== 'Active'">
|
||||
<fa-icon icon="lock-open"></fa-icon>
|
||||
<fa-icon icon="lock-open" class="m-r-10"></fa-icon>
|
||||
Activate
|
||||
</button>
|
||||
</span>
|
||||
<button mat-raised-button color="primary" [routerLink]="['edit']" *mifosxHasPermission="'UPDATE_HOLIDAY'">
|
||||
<fa-icon icon="edit"></fa-icon>
|
||||
<fa-icon icon="edit" class="m-r-10"></fa-icon>
|
||||
Edit
|
||||
</button>
|
||||
<button mat-raised-button color="warn" (click)="deleteHoliday()" *mifosxHasPermission="'DELETE_HOLIDAY'">
|
||||
<fa-icon icon="trash"></fa-icon>
|
||||
<fa-icon icon="trash" class="m-r-10"></fa-icon>
|
||||
Delete
|
||||
</button>
|
||||
</div>
|
||||
@@ -65,4 +65,4 @@
|
||||
|
||||
</mat-card>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+8
-8
@@ -15,7 +15,7 @@
|
||||
Provisioning Criteria is <strong>required</strong>
|
||||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
|
||||
<mat-form-field fxFlex>
|
||||
<mat-label>Selected Products</mat-label>
|
||||
<mat-select formControlName="loanProducts" multiple>
|
||||
@@ -41,7 +41,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Category </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.categoryName }} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="minAge">
|
||||
<th mat-header-cell *matHeaderCellDef> Min Age </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.minAge || '0' }} </td>
|
||||
@@ -51,7 +51,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Max Age </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.maxAge || '0' }} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="percentage">
|
||||
<th mat-header-cell *matHeaderCellDef> Percentage (%)</th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.provisioningPercentage || '0' }} </td>
|
||||
@@ -61,7 +61,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Liability Account </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ (definition.liabilityAccount | find:loanProvisioningCriteriaTemplate.glAccounts:'id':'name') || '-' }} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="expenseAccount">
|
||||
<th mat-header-cell *matHeaderCellDef> Expense Account </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ (definition.expenseAccount | find:loanProvisioningCriteriaTemplate.glAccounts:'id':'name') || '-' }} </td>
|
||||
@@ -71,18 +71,18 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Actions </th>
|
||||
<td mat-cell *matCellDef="let definition">
|
||||
<button mat-button color="primary" (click)="editDefinition(definition)">
|
||||
<fa-icon icon="edit"></fa-icon>
|
||||
<fa-icon icon="edit" class="m-r-10"></fa-icon>
|
||||
Edit
|
||||
</button>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="m-t-20" fxLayout="row" fxLayoutAlign="center" fxLayoutGap="20px">
|
||||
<button type="button" mat-raised-button [routerLink]="['../']">Cancel</button>
|
||||
|
||||
+8
-8
@@ -15,7 +15,7 @@
|
||||
Provisioning Criteria is <strong>required</strong>
|
||||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
|
||||
<mat-form-field fxFlex>
|
||||
<mat-label>Selected Products</mat-label>
|
||||
<mat-select formControlName="loanProducts" [compareWith]="compareOptions" multiple>
|
||||
@@ -41,7 +41,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Category </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.categoryName }} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="minAge">
|
||||
<th mat-header-cell *matHeaderCellDef> Min Age </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.minAge || '0' }} </td>
|
||||
@@ -51,7 +51,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Max Age </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.maxAge || '0' }} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="percentage">
|
||||
<th mat-header-cell *matHeaderCellDef> Percentage (%)</th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ definition.provisioningPercentage || '0' }} </td>
|
||||
@@ -61,7 +61,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Liability Account </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ (definition.liabilityAccount | find:loanProvisioningCriteriaAndTemplate.glAccounts:'id':'name') || '-' }} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="expenseAccount">
|
||||
<th mat-header-cell *matHeaderCellDef> Expense Account </th>
|
||||
<td mat-cell *matCellDef="let definition"> {{ (definition.expenseAccount | find:loanProvisioningCriteriaAndTemplate.glAccounts:'id':'name') || '-' }} </td>
|
||||
@@ -71,18 +71,18 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Actions </th>
|
||||
<td mat-cell *matCellDef="let definition">
|
||||
<button mat-button color="primary" (click)="editDefinition(definition)">
|
||||
<fa-icon icon="edit"></fa-icon>
|
||||
<fa-icon icon="edit" class="m-r-10"></fa-icon>
|
||||
Edit
|
||||
</button>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="m-t-20" fxLayout="row" fxLayoutAlign="center" fxLayoutGap="20px">
|
||||
<button type="button" mat-raised-button [routerLink]="['../']">Cancel</button>
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<div class="container m-b-20" fxLayout="row" fxLayoutAlign="end" fxLayoutGap="20px">
|
||||
<button mat-raised-button color="primary" [routerLink]="['create']" *mifosxHasPermission="'CREATE_PROVISIONING_CRITERIA'">
|
||||
<fa-icon icon="plus"></fa-icon>
|
||||
<fa-icon icon="plus" class="m-r-10"></fa-icon>
|
||||
Create Provisioning Criteria
|
||||
</button>
|
||||
</div>
|
||||
|
||||
+6
-6
@@ -1,10 +1,10 @@
|
||||
<div fxLayout="row" fxLayoutAlign="end" fxLayoutGap="2%" fxLayout.lt-md="column" class="container m-b-20">
|
||||
<button mat-raised-button color="primary" [routerLink]="['edit']" *mifosxHasPermission="'UPDATE_CRITERIA'">
|
||||
<fa-icon icon="edit"></fa-icon>
|
||||
<fa-icon icon="edit" class="m-r-10"></fa-icon>
|
||||
Edit
|
||||
</button>
|
||||
<button mat-raised-button color="warn" (click)="deleteCriteria()" *mifosxHasPermission="'DELETE_CRITERIA'">
|
||||
<fa-icon icon="trash"></fa-icon>
|
||||
<fa-icon icon="trash" class="m-r-10"></fa-icon>
|
||||
Delete
|
||||
</button>
|
||||
</div>
|
||||
@@ -23,7 +23,7 @@
|
||||
<div fxFlexFill class="loanProduct">
|
||||
<span fxFlex="40%">Loan Product:</span>
|
||||
<span fxFlex="60%">{{ loanProducts }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -35,12 +35,12 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Category </th>
|
||||
<td mat-cell *matCellDef="let provisioningData"> {{provisioningData.categoryName}} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="minAge">
|
||||
<th mat-header-cell *matHeaderCellDef> Min Age </th>
|
||||
<td mat-cell *matCellDef="let provisioningData"> {{provisioningData.minAge}} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="maxAge">
|
||||
<th mat-header-cell *matHeaderCellDef> Max Age </th>
|
||||
<td mat-cell *matCellDef="let provisioningData"> {{provisioningData.maxAge}} </td>
|
||||
@@ -60,7 +60,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Expense Account </th>
|
||||
<td mat-cell *matCellDef="let provisioningData"> {{provisioningData.expenseName}} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
||||
</table>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="container m-b-20" fxLayout="row" fxLayoutAlign="end" fxLayoutGap="20px">
|
||||
|
||||
<button mat-raised-button color="primary" [routerLink]="['create']" *mifosxHasPermission="'CREATE_PAYMENTTYPE'">
|
||||
<fa-icon icon="plus"></fa-icon>
|
||||
<fa-icon icon="plus" class="m-r-10"></fa-icon>
|
||||
Create Payment Type
|
||||
</button>
|
||||
|
||||
@@ -64,10 +64,10 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Actions </th>
|
||||
<td mat-cell *matCellDef="let paymentType">
|
||||
<button mat-button [routerLink]="[paymentType.id, 'edit']" color="primary" *ngIf="!paymentType.isSystemDefined">
|
||||
<fa-icon icon="edit"></fa-icon> Edit
|
||||
<fa-icon icon="edit" class="m-r-10"></fa-icon>Edit
|
||||
</button>
|
||||
<button mat-button (click)="deletePaymentType(paymentType.id)" color="warn" *ngIf="!paymentType.isSystemDefined">
|
||||
<fa-icon icon="trash"></fa-icon> Delete
|
||||
<fa-icon icon="trash" class="m-r-10"></fa-icon>Delete
|
||||
</button>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
|
||||
<div fxLayout="row" class="margin-t" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="2%">
|
||||
<button mat-raised-button matStepperPrevious>
|
||||
<fa-icon icon="arrow-left"></fa-icon>
|
||||
<fa-icon icon="arrow-left" class="m-r-10"></fa-icon>
|
||||
Previous
|
||||
</button>
|
||||
<button mat-raised-button matStepperNext [disabled]="!smsCampaignFormValid">
|
||||
|
||||
+3
-3
@@ -19,7 +19,7 @@
|
||||
{{param.label}} is <strong>required</strong>
|
||||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
|
||||
<mat-form-field fxFlex="48%" *ngSwitchCase="'date'" (click)="runReportDatePicker.open()">
|
||||
<mat-label>{{param.label}}</mat-label>
|
||||
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="runReportDatePicker" required
|
||||
@@ -30,7 +30,7 @@
|
||||
{{param.label}} is <strong>required</strong>
|
||||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
|
||||
<mat-form-field fxFlex="48%" *ngSwitchCase="'select'">
|
||||
<mat-label>{{param.label}}</mat-label>
|
||||
<mat-select required [formControlName]="param.name" [compareWith]="compareOptions">
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
<div fxLayout="row" class="margin-t" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="2%">
|
||||
<button mat-raised-button matStepperPrevious disabled>
|
||||
<fa-icon icon="arrow-left"></fa-icon>
|
||||
<fa-icon icon="arrow-left" class="m-r-10"></fa-icon>
|
||||
Previous
|
||||
</button>
|
||||
<button mat-raised-button matStepperNext>
|
||||
|
||||
+5
-5
@@ -10,7 +10,7 @@
|
||||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field fxFlex="48%"
|
||||
<mat-form-field fxFlex="48%"
|
||||
*ngIf="!smsCampaignDetailsForm.controls.isNotification.value">
|
||||
<mat-label>SMS Provider</mat-label>
|
||||
<mat-select formControlName="providerId">
|
||||
@@ -39,7 +39,7 @@
|
||||
<mat-form-field fxFlex="48%"
|
||||
*ngIf="smsCampaignDetailsForm.contains('recurrenceStartDate')" (click)="recurrenceStartDatePicker.open()">
|
||||
<mat-label>Schedule Date</mat-label>
|
||||
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="recurrenceStartDatePicker"
|
||||
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="recurrenceStartDatePicker"
|
||||
formControlName="recurrenceStartDate" required>
|
||||
<mat-datepicker-toggle matSuffix [for]="recurrenceStartDatePicker"></mat-datepicker-toggle>
|
||||
<mat-datepicker #recurrenceStartDatePicker></mat-datepicker>
|
||||
@@ -109,7 +109,7 @@
|
||||
<div fxLayout="row" class="margin-t" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="2%"
|
||||
*ngIf="!smsCampaignDetailsForm.controls.runReportId.value">
|
||||
<button mat-raised-button matStepperPrevious disabled>
|
||||
<fa-icon icon="arrow-left"></fa-icon>
|
||||
<fa-icon icon="arrow-left" class="m-r-10"></fa-icon>
|
||||
Previous
|
||||
</button>
|
||||
<button mat-raised-button matStepperNext>
|
||||
@@ -118,9 +118,9 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<mifosx-business-rule-parameters
|
||||
<mifosx-business-rule-parameters
|
||||
*ngIf="smsCampaignDetailsForm.controls.runReportId.value"
|
||||
[paramData]="paramData"
|
||||
[paramData]="paramData"
|
||||
(templateParameters)="passParameters($event)"
|
||||
>
|
||||
</mifosx-business-rule-parameters>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="container m-b-20" fxLayout="row" fxLayoutAlign="end" fxLayoutGap="20px">
|
||||
|
||||
<button mat-raised-button color="primary" [routerLink]="['create']" *mifosxHasPermission="'CREATE_SMSCAMPAIGN'">
|
||||
<fa-icon icon="plus"></fa-icon>
|
||||
<fa-icon icon="plus" class="m-r-10"></fa-icon>
|
||||
Create SMS Campaign
|
||||
</button>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header> Trigger Type </th>
|
||||
<td mat-cell *matCellDef="let smsCampaign"> {{ smsCampaign.triggerType.value }} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
<ng-container matColumnDef="campaignStatus.value">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header> Status </th>
|
||||
<td mat-cell *matCellDef="let smsCampaign">
|
||||
|
||||
@@ -4,31 +4,31 @@
|
||||
|
||||
<span *ngIf="smsCampaignData.campaignStatus.value !== 'active'">
|
||||
<button mat-raised-button color="primary" *mifosxHasPermission="'UPDATE_SMSCAMPAIGN'" [routerLink]="['edit']">
|
||||
<fa-icon icon="edit"></fa-icon> Edit
|
||||
<fa-icon icon="edit" class="m-r-10"></fa-icon>Edit
|
||||
</button>
|
||||
</span>
|
||||
|
||||
<span *ngIf="smsCampaignData.campaignStatus.value === 'Pending'">
|
||||
<button mat-raised-button color="accent" *mifosxHasPermission="'ACTIVATE_SMSCAMPAIGN'" (click)="activateCampaign()">
|
||||
<fa-icon icon="lock-open"></fa-icon> Activate
|
||||
<fa-icon icon="lock-open" class="m-r-10"></fa-icon>Activate
|
||||
</button>
|
||||
</span>
|
||||
|
||||
<span *ngIf="smsCampaignData.campaignStatus.value !== 'closed'">
|
||||
<button mat-raised-button color="warn" *mifosxHasPermission="'CLOSE_SMSCAMPAIGN'" (click)="closeCampaign()">
|
||||
<fa-icon icon="times"></fa-icon> Close
|
||||
<fa-icon icon="times" class="m-r-10"></fa-icon>Close
|
||||
</button>
|
||||
</span>
|
||||
|
||||
<span *ngIf="smsCampaignData.campaignStatus.value !== 'Pending' && smsCampaignData.campaignStatus.value !== 'active'">
|
||||
<button mat-raised-button color="accent" *mifosxHasPermission="'REACTIVATE_SMSCAMPAIGN'" (click)="reactivateCampaign()">
|
||||
<fa-icon icon="undo"></fa-icon> Reactivate
|
||||
<fa-icon icon="undo" class="m-r-10"></fa-icon>Reactivate
|
||||
</button>
|
||||
</span>
|
||||
|
||||
<span *ngIf="smsCampaignData.campaignStatus.value === 'closed'">
|
||||
<button mat-raised-button color="warn" *mifosxHasPermission="'DELETE_SMSCAMPAIGN'" (click)="deleteCampaign()">
|
||||
<fa-icon icon="trash"></fa-icon> Delete
|
||||
<fa-icon icon="trash" class="m-r-10"></fa-icon>Delete
|
||||
</button>
|
||||
</span>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<mat-tab label="Campaign">
|
||||
|
||||
<div class="tab-content mat-typography">
|
||||
|
||||
|
||||
<mat-list>
|
||||
|
||||
<mat-list-item>
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
<mat-list-item>
|
||||
Status : {{ smsCampaignData.campaignStatus.value }}
|
||||
</mat-list-item>
|
||||
</mat-list-item>
|
||||
|
||||
<mat-list-item>
|
||||
Trigger Type : {{ smsCampaignData.triggerType.value }}
|
||||
@@ -105,7 +105,7 @@
|
||||
|
||||
<div class="search-button" >
|
||||
<button mat-raised-button color="primary">
|
||||
<fa-icon icon="search"></fa-icon> Search</button>
|
||||
<fa-icon icon="search" class="m-r-10"></fa-icon>Search</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
</ng-container>
|
||||
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
||||
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="container m-b-20" fxLayout="row" fxLayoutAlign="end" fxLayoutGap="20px">
|
||||
|
||||
<button mat-raised-button color="primary" [routerLink]="['create']" *mifosxHasPermission="'CREATE_CASHIERS_FOR_TELLER'">
|
||||
<fa-icon icon="plus"></fa-icon>
|
||||
<fa-icon icon="plus" class="m-r-10"></fa-icon>
|
||||
New Cashier
|
||||
</button>
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div fxLayout="row" fxLayoutGap="1%" fxLayoutAlign="end" class="container m-b-20">
|
||||
<button mat-raised-button color="accent" [routerLink]="['../allocate']" *mifosxHasPermission="'ALLOCATECASHIER_TELLER'">
|
||||
<fa-icon icon="arrow-up"></fa-icon>
|
||||
<fa-icon icon="arrow-up" class="m-r-10"></fa-icon>
|
||||
Allocate Cash
|
||||
</button>
|
||||
<button mat-raised-button color="warn" [routerLink]="['../settle']" *mifosxHasPermission="'SETTLECASHFROMCASHIER_TELLER'">
|
||||
<fa-icon icon="arrow-down"></fa-icon>
|
||||
<fa-icon icon="arrow-down" class="m-r-10"></fa-icon>
|
||||
Settle Cash
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div fxLayout="row" fxLayoutAlign="end" fxLayoutGap="2%" fxLayout.lt-md="column" class="container m-b-20">
|
||||
<button mat-raised-button color="primary" [routerLink]="['edit']" *mifosxHasPermission="'UPDATE_CASHIER'">
|
||||
<fa-icon icon="edit"></fa-icon>
|
||||
<fa-icon icon="edit" class="m-r-10"></fa-icon>
|
||||
Edit
|
||||
</button>
|
||||
<button mat-raised-button color="warn" (click)="deleteCashier()" *mifosxHasPermission="'DELETECASHIER_TELLER'">
|
||||
<fa-icon icon="trash"></fa-icon>
|
||||
<fa-icon icon="trash" class="m-r-10"></fa-icon>
|
||||
Delete
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="container m-b-20" fxLayout="row" fxLayoutAlign="end" fxLayoutGap="20px">
|
||||
|
||||
<button mat-raised-button color="primary" [routerLink]="['create']" *mifosxHasPermission="'CREATE_TELLER'">
|
||||
<fa-icon icon="plus"></fa-icon>
|
||||
<fa-icon icon="plus" class="m-r-10"></fa-icon>
|
||||
Create Teller
|
||||
</button>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<td mat-cell *matCellDef="let teller">
|
||||
<div [className]="teller.status === 'ACTIVE' ? 'true' : 'false'">
|
||||
<fa-icon matTooltip="{{ teller.status === 'ACTIVE' ? 'Active' : 'Inactive' }}" matTooltipPosition="right" icon="circle" size="lg"></fa-icon>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<th mat-header-cell *matHeaderCellDef> Actions </th>
|
||||
<td mat-cell *matCellDef="let teller" (click)="$event.stopPropagation()">
|
||||
<button mat-button color="primary" [routerLink]="[teller.id,'cashiers']">
|
||||
<fa-icon icon="eye"></fa-icon> View Cashiers
|
||||
<fa-icon icon="eye" class="m-r-10"></fa-icon>View Cashiers
|
||||
</button>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div fxLayout="row" fxLayoutAlign="end" fxLayoutGap="2%" fxLayout.lt-md="column" class="container m-b-20">
|
||||
<button mat-raised-button color="primary" [routerLink]="['edit']" *mifosxHasPermission="'UPDATE_TELLER'">
|
||||
<fa-icon icon="edit"></fa-icon>
|
||||
<fa-icon icon="edit" class="m-r-10"></fa-icon>
|
||||
Edit
|
||||
</button>
|
||||
<button mat-raised-button color="warn" (click)="deleteTeller()" *mifosxHasPermission="'DELETE_TELLER'">
|
||||
<fa-icon icon="trash"></fa-icon>
|
||||
<fa-icon icon="trash" class="m-r-10"></fa-icon>
|
||||
Delete
|
||||
</button>
|
||||
</div>
|
||||
@@ -24,7 +24,7 @@
|
||||
<div fxFlex="50%">
|
||||
{{ tellerData.name }}
|
||||
</div>
|
||||
|
||||
|
||||
<div fxFlex="50%" class="mat-body-strong">
|
||||
Office
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user