parent
57efcab231
commit
9b031f73bb
@ -1,54 +1,82 @@
|
|||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h4>Leader Commission Config</h4>
|
<h4>Commission Config</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<!--<div class="alert alert-danger" ng-bind="errmsg" ng-if="errmsg"></div>-->
|
<!--<div class="alert alert-danger" ng-bind="errmsg" ng-if="errmsg"></div>-->
|
||||||
<div class="table-responsive">
|
<button class="btn btn-primary" ng-bind="bdmon" style="margin-bottom: 10px"></button>
|
||||||
<button class="btn btn-primary" ng-bind="bdmon"></button>
|
<uib-tabset>
|
||||||
<table class="table table-hover">
|
<uib-tab heading="Leader">
|
||||||
<thead>
|
<div class="table-responsive margin-top">
|
||||||
<tr>
|
<table class="table table-hover">
|
||||||
<th>Commission Amount</th>
|
<thead>
|
||||||
<th>Commission Rate</th>
|
<tr>
|
||||||
<th>BD Type</th>
|
<th>Commission Amount</th>
|
||||||
<th>
|
<th>Commission Rate</th>
|
||||||
<span class="fa fa-plus" style="color: #0bb20c" ng-click="bdlm.push({})"></span>
|
<th>BD Type</th>
|
||||||
</th>
|
<th>
|
||||||
</tr>
|
<span class="fa fa-plus" style="color: #0bb20c" ng-click="bdlm.push({})"></span>
|
||||||
</thead>
|
</th>
|
||||||
<tbody>
|
</tr>
|
||||||
<tr ng-repeat="bd in bdlm">
|
</thead>
|
||||||
<td class="col-sm-5">
|
<tbody>
|
||||||
<div class="input-group">
|
<tr ng-repeat="bd in bdlm">
|
||||||
<input class="form-control" id="re-from-input" type="number"
|
<td class="col-sm-5">
|
||||||
ng-model="bd.commission_start_amount"
|
<div class="input-group">
|
||||||
placeholder="Start Amount">
|
<input class="form-control" id="re-from-input" type="number"
|
||||||
<span class="input-group-addon">~</span>
|
ng-model="bd.commission_start_amount"
|
||||||
<input class="form-control" id="re-to-input" type="number"
|
placeholder="Start Amount">
|
||||||
ng-model="bd.commission_end_amount"
|
<span class="input-group-addon">~</span>
|
||||||
placeholder="End Amount">
|
<input class="form-control" id="re-to-input" type="number"
|
||||||
</div>
|
ng-model="bd.commission_end_amount"
|
||||||
</td>
|
placeholder="End Amount">
|
||||||
<td class="col-sm-3">
|
</div>
|
||||||
<div class="input-group">
|
</td>
|
||||||
<input placeholder="rate" class="form-control" type="number" step="0.01"
|
<td class="col-sm-3">
|
||||||
ng-model="bd.bd_commission_rate">
|
<div class="input-group">
|
||||||
<span class="input-group-addon">%</span>
|
<input placeholder="rate" class="form-control" type="number" step="0.01"
|
||||||
</div>
|
ng-model="bd.bd_commission_rate">
|
||||||
</td>
|
<span class="input-group-addon">%</span>
|
||||||
<td>
|
</div>
|
||||||
<select class="form-control" ng-model="bd.bd_type" ng-options="bdtype.id as bdtype.label for bdtype in bdtypes"></select>
|
</td>
|
||||||
</td>
|
<td>
|
||||||
<td>
|
<select class="form-control" ng-model="bd.bd_type" ng-options="bdtype.id as bdtype.label for bdtype in bdtypes"></select>
|
||||||
<span class="fa fa-close" style="color: #b92c28" ng-click="deleteCommission(bd.bc_config_id)"></span>
|
</td>
|
||||||
</td>
|
<td>
|
||||||
</tr>
|
<span class="fa fa-close" style="color: #b92c28" ng-click="deleteCommission(bd.bc_config_id)"></span>
|
||||||
</tbody>
|
</td>
|
||||||
</table>
|
</tr>
|
||||||
<div class="alert alert-danger" ng-if="errmsg" ng-bind="errmsg"></div>
|
</tbody>
|
||||||
<div class="modal-footer" ng-if="listConfig">
|
</table>
|
||||||
<button class="btn btn-success" type="button" ng-click="submitCommmissionConfig(bdmon,bdlm)">Submit</button>
|
<div class="alert alert-danger" ng-if="errmsg" ng-bind="errmsg"></div>
|
||||||
<button class="btn btn-danger" ng-click="$dismiss()">Cancel</button>
|
<div class="modal-footer" ng-if="listConfig">
|
||||||
</div>
|
<button class="btn btn-success" type="button" ng-click="submitCommmissionConfig(bdmon,bdlm)">Submit</button>
|
||||||
</div>
|
<button class="btn btn-danger" ng-click="$dismiss()">Cancel</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</uib-tab>
|
||||||
|
<uib-tab heading="BD">
|
||||||
|
<table class="table table-hover" style="text-align: center">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align: center;">BD Name</th>
|
||||||
|
<th style="text-align: center;">KPI Amount</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr ng-repeat="bd in bds">
|
||||||
|
<td ng-bind="bd.display_name"></td>
|
||||||
|
<td>
|
||||||
|
<input ng-model="bd.kpi_amount">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<div class="alert alert-danger" ng-if="errmsg" ng-bind="errmsg"></div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn btn-success" type="button" ng-click="submitBdCommmissionConfig(bdmon,bds)">Submit</button>
|
||||||
|
<button class="btn btn-danger" ng-click="$dismiss()">Cancel</button>
|
||||||
|
</div>
|
||||||
|
</uib-tab>
|
||||||
|
</uib-tabset>
|
||||||
|
|
||||||
</div>
|
</div>
|
Loading…
Reference in new issue