diff --git a/src/app/partner-menu/partner-microcredit/edit-microcredit-campaign/edit-microcredit-campaign.component.html b/src/app/partner-menu/partner-microcredit/edit-microcredit-campaign/edit-microcredit-campaign.component.html index 6c34be67..3628ec52 100644 --- a/src/app/partner-menu/partner-microcredit/edit-microcredit-campaign/edit-microcredit-campaign.component.html +++ b/src/app/partner-menu/partner-microcredit/edit-microcredit-campaign/edit-microcredit-campaign.component.html @@ -298,24 +298,11 @@
{{'FIELDS.MICROCREDIT_CAMPAIGN.STEP.TITLE' | translate}} - <<<<<<< HEAD - - {{ 'FORM.VALIDATION.REQUIRED_FIELD' | translate }} - - - {{ 'FORM.VALIDATION.MIN_VALUE_FIELD' | translate }}: {{validator.stepAmount.minValue}} - - - {{ 'FORM.VALIDATION.MAX_VALUE_FIELD' | translate }}: {{validator.stepAmount.maxValue}} - - ======= - - >>>>>>> ux - - {{'FIELDS.MICROCREDIT_CAMPAIGN.STEP.DESC' | translate}} - + + {{'FIELDS.MICROCREDIT_CAMPAIGN.STEP.DESC' | translate}} +
@@ -384,7 +371,6 @@
{{ 'FIELDS.MICROCREDIT_CAMPAIGN.SUBSECTIONS.DATES' | translate }}
-
@@ -436,8 +422,8 @@ {{ 'FORM.VALIDATION.CAMPAIGN_DATES.REDEEMSTARTSTOREDEEMENDS' | translate - }} + class="error text-danger"> + {{ 'FORM.VALIDATION.CAMPAIGN_DATES.REDEEMSTARTSTOREDEEMENDS' | translate }} {{'FIELDS.MICROCREDIT_CAMPAIGN.REDEEM_STARTS.DESC' | translate}} @@ -462,13 +448,14 @@ {{ 'FORM.VALIDATION.REQUIRED_FIELD' | translate }} - {{ 'FORM.VALIDATION.CAMPAIGN_DATES.SUPPORTSTARTSTOSUPPORTENDS' | translate }} - + {{ 'FORM.VALIDATION.CAMPAIGN_DATES.SUPPORTENDSTOREDEEMENDS' | translate }} @@ -478,38 +465,6 @@
-
-
- - -
- - {{'FIELDS.MICROCREDIT_CAMPAIGN.REDEEM_STARTS.TITLE' | translate}} - - - - - {{ 'FORM.VALIDATION.REQUIRED_FIELD' | translate }} - - - {{ 'FORM.VALIDATION.CAMPAIGN_DATES.SUPPORTSTARTSTOREDEEMSTARTS' | translate }} - - {{ 'FORM.VALIDATION.CAMPAIGN_DATES.REDEEMSTARTSTOREDEEMENDS' | translate - }} - - - {{'FIELDS.MICROCREDIT_CAMPAIGN.REDEEM_STARTS.DESC' | translate}} - - -
- -
@@ -523,13 +478,12 @@ {{ 'FORM.VALIDATION.CAMPAIGN_DATES.REDEEMSTARTSTOREDEEMENDS' | - translate }} + class="error text-danger">{{ 'FORM.VALIDATION.CAMPAIGN_DATES.REDEEMSTARTSTOREDEEMENDS' | translate + }} - {{ 'FORM.VALIDATION.CAMPAIGN_DATES.SUPPORTENDSTOREDEEMENDS' | translate }} + class="error text-danger">{{ 'FORM.VALIDATION.CAMPAIGN_DATES.SUPPORTENDSTOREDEEMENDS' | translate }} {{'FIELDS.MICROCREDIT_CAMPAIGN.REDEEM_ENDS.DESC' | translate}} diff --git a/src/app/partner-menu/partner-microcredit/edit-microcredit-campaign/edit-microcredit-campaign.component.ts b/src/app/partner-menu/partner-microcredit/edit-microcredit-campaign/edit-microcredit-campaign.component.ts index 455a56bd..4e73c9b6 100644 --- a/src/app/partner-menu/partner-microcredit/edit-microcredit-campaign/edit-microcredit-campaign.component.ts +++ b/src/app/partner-menu/partner-microcredit/edit-microcredit-campaign/edit-microcredit-campaign.component.ts @@ -434,9 +434,10 @@ export class EditMicrocreditCampaignComponent implements OnInit, OnDestroy { publishItemModal() { this.modalService.open(this.publish_item).result.then((result) => { console.log('closed'); - }, (reason) => { this.loading = false; + }, (reason) => { console.log('dismissed'); + this.loading = false; }); } @@ -447,9 +448,10 @@ export class EditMicrocreditCampaignComponent implements OnInit, OnDestroy { deleteItemModal() { this.modalService.open(this.remove_item).result.then((result) => { console.log('closed'); - }, (reason) => { this.loading = false; + }, (reason) => { console.log('dismissed'); + this.loading = false; }); } diff --git a/src/app/partner-menu/partner-microcredit/new-microcredit-campaign/new-microcredit-campaign.component.ts b/src/app/partner-menu/partner-microcredit/new-microcredit-campaign/new-microcredit-campaign.component.ts index e2b69e35..5f372115 100644 --- a/src/app/partner-menu/partner-microcredit/new-microcredit-campaign/new-microcredit-campaign.component.ts +++ b/src/app/partner-menu/partner-microcredit/new-microcredit-campaign/new-microcredit-campaign.component.ts @@ -377,9 +377,10 @@ export class NewMicrocreditCampaignComponent implements OnInit, OnDestroy { publishItemModal() { this.modalService.open(this.publish_item).result.then((result) => { console.log('closed'); - }, (reason) => { this.loading = false; + }, (reason) => { console.log('dismissed'); + this.loading = false; }); }