|
|
|
@ -78,11 +78,56 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="riskEvent.order_type == 5 || riskEvent.order_type == 1"
|
|
|
|
|
ng-class="{'has-error':riskEventForm.sub_merchant_id.$invalid && riskEventForm.sub_merchant_id.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2"
|
|
|
|
|
for="sub-merchant-id-input">Sub Merchant ID</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control"
|
|
|
|
|
ng-model="riskEvent.sub_merchant_id"
|
|
|
|
|
type="text"
|
|
|
|
|
name="sub_merchant_id"
|
|
|
|
|
id="sub-merchant-id-input"
|
|
|
|
|
ng-blur="loadParnters()"
|
|
|
|
|
required>
|
|
|
|
|
<div ng-messages="riskEventForm.order_ids.$error"
|
|
|
|
|
ng-if="riskEventForm.sub_merchant_id.$dirty">
|
|
|
|
|
<p class="small text-danger"
|
|
|
|
|
ng-message="required">required field
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-if="partners != null">
|
|
|
|
|
<label class="control-label col-sm-2"
|
|
|
|
|
for="order-type-input">Company Name
|
|
|
|
|
</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<select class="form-control"
|
|
|
|
|
name="company_name"
|
|
|
|
|
ng-model="riskEvent.client_moniker"
|
|
|
|
|
id="company-name-input"
|
|
|
|
|
ng-options="partner.client_moniker as partner.company_name for partner in partners">
|
|
|
|
|
<option value="Please Choose"></option>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<div ng-messages="riskEventForm.order_type.$error"
|
|
|
|
|
ng-if="riskEventForm.order_type.$dirty">
|
|
|
|
|
<p class="small text-danger"
|
|
|
|
|
ng-message="required">required field
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="riskEvent.order_type != 5"
|
|
|
|
|
ng-class="{'has-error':riskEventForm.client_moniker.$invalid && riskEventForm.client_moniker.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2"
|
|
|
|
|
for="short-id-input">* Partner Code
|
|
|
|
|
for="short-id-input">Partner Code
|
|
|
|
|
</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control"
|
|
|
|
@ -131,30 +176,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-if="riskEvent.order_type == 5"
|
|
|
|
|
ng-class="{'has-error':riskEventForm.sub_merchant_id.$invalid && riskEventForm.sub_merchant_id.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2"
|
|
|
|
|
for="sub-merchant-id-input">Sub Merchant ID</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control"
|
|
|
|
|
ng-model="riskEvent.sub_merchant_id"
|
|
|
|
|
type="text"
|
|
|
|
|
name="sub_merchant_id"
|
|
|
|
|
id="sub-merchant-id-input"
|
|
|
|
|
required>
|
|
|
|
|
<div ng-messages="riskEventForm.order_ids.$error"
|
|
|
|
|
ng-if="riskEventForm.sub_merchant_id.$dirty">
|
|
|
|
|
<p class="small text-danger"
|
|
|
|
|
ng-message="required">required field
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="control-label col-sm-2"
|
|
|
|
|
for="receive-date-input">Receive Date
|
|
|
|
|
for="receive-date-input">
|
|
|
|
|
{{(riskEvent.order_type == 1 || riskEvent.order_type ==2) ? 'Receive Date' : 'Create Date'}}
|
|
|
|
|
</label>
|
|
|
|
|
<div class="col-xs-2">
|
|
|
|
|
<input class="form-control"
|
|
|
|
@ -163,7 +188,7 @@
|
|
|
|
|
ng-model="riskEvent.receive_email_date"
|
|
|
|
|
uib-datepicker-popup
|
|
|
|
|
size="10"
|
|
|
|
|
placeholder="Receive Email Date"
|
|
|
|
|
placeholder="{{(riskEvent.order_type == 1 || riskEvent.order_type ==2) ? 'Receive Date' : 'Create Date'}}"
|
|
|
|
|
datepicker-options="{maxDate:today}"
|
|
|
|
|
is-open="ReceiveDate.open"
|
|
|
|
|
ng-click="ReceiveDate.open=true">
|
|
|
|
@ -175,11 +200,11 @@
|
|
|
|
|
for="description-input">Description
|
|
|
|
|
</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control"
|
|
|
|
|
<textarea class="form-control"
|
|
|
|
|
ng-model="riskEvent.description"
|
|
|
|
|
type="text"
|
|
|
|
|
name="description"
|
|
|
|
|
id="description-input">
|
|
|
|
|
</textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|