|
|
|
@ -205,14 +205,14 @@
|
|
|
|
|
<div class="form-group col-xs-12" ng-if="partner.has_children && !partner.hide_sub_mch">
|
|
|
|
|
<label class="control-label col-xs-4 col-sm-2">Sub Partner</label>
|
|
|
|
|
<div class="col-sm-10 col-xs-8">
|
|
|
|
|
<p class="form-control-static" ng-if="clients.length<50">
|
|
|
|
|
<p class="form-control-static" ng-if="clients.length<20">
|
|
|
|
|
<a role="button" ng-class="{'bg-primary':isAll}" ng-click="chooseClient('all')">All</a>
|
|
|
|
|
<label ng-repeat="sub in clients">
|
|
|
|
|
| <a role="button" ng-class="{'bg-primary':sub.client_id==chooseClientId}"
|
|
|
|
|
ng-click="chooseClient(sub)">{{sub.short_name}}</a>
|
|
|
|
|
</label>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="form-control-static" ng-if="clients.length>=50">
|
|
|
|
|
<p class="form-control-static" ng-if="clients.length>=20">
|
|
|
|
|
<a role="button" ng-class="{'bg-primary':isAll}"
|
|
|
|
|
ng-click="chooseClient('all')">All</a>
|
|
|
|
|
<label ng-click="checkSubClientChoseShow('');choseDivStopPropagation($event)" style="cursor: pointer;">
|
|
|
|
|