%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<div class="page-bar"> <ul class="page-breadcrumb uc"> <li><h2>Manage Users</h2></li> </ul> <div class="page-toolbar"> <a href="" class="btn blue btn-outline pull-right" ng-click="CR.open_form()"><i class="fa fa-plus"></i> Add New</a> </div> </div> <!-- --> <div ng-controller="DataSetLeads as DS"> <div> <!-- Search --> <div class="form-group"> <form ng-submit="CR.lists()"> <div class="form-inline fc-sm"> <input type="text" ng-model="CR.sdata.k" class="form-control w200" placeholder="Keyword..." /> <select class="form-control" ng-model="CR.sdata.type"> <option value="">Type (ALL)</option> <option value="{{v}}" ng-repeat="v in CR.user_types">{{v}}</option> </select> <select class="form-control" ng-model="CR.sdata.parent_id"> <option value="">Parent RO (ALL)</option> <option value="{{r.id}}" ng-repeat="r in CR.regional_officers">{{r.name}}</option> </select> <button type="submit" class="btn btn-info">Search</button> </div> </form> </div> <!-- / --> <div ng-if="CR.result.length"> <div class="text-secondary bold mb10"> Showing {{CR.page.start+1}} - {{CR.page.start+CR.page.total}} of {{CR.page.total_records}} records. </div> <div class="table-responsive"> <table class="table table-condensed table-striped table-bordered table-advance table-hover"> <thead class="vmid"> <tr> <th class="w20">#</th> <th>Name</th> <th class="w200">Email</th> <!-- <th class="w200">Username</th> --> <th class="w100">Type</th> <th class="w150">Created By</th> <th class="w100">Created On</th> <th class="w60">Status</th> <th class="w85"></th> </tr> </thead> <tbody> <tr ng-repeat="(i,r) in CR.result"> <td>{{i+CR.page.start+1}}.</td> <td> {{r.name}} <div class="pdT5 note-text" ng-if="r.parent">RO: <strong>{{r.parent}}</strong></div> <div class="pdT3 note-text"> <a href="" ng-click="DS.detail_by_user_id(r.id)">Lead Data Set</a> </div> </td> <td>{{r.email}}</td> <!-- <td>{{r.username?r.username:'N/A'}}</td> --> <td>{{r.type}}</td> <td>{{r.usr}}</td> <td>{{get_date(r.created)}}</td> <td> <span class="label label-sm label-success label-mini" ng-if="r.status=='1'">Active</span> <span class="label label-sm label-danger label-mini" ng-if="r.status=='0'">Inactive</span> </td> <td class="text-center"> <div class="btn-group btn-group-solid"> <button type="button" class="btn btn-xs default" ng-click="CR.edit(r.id)"><i class="fa fa-edit"></i></button> <button type="button" class="btn btn-xs red" ng-click="CR.delete(r.id)"><i class="fa fa-trash-o"></i></button> </div> </td> </tr> </tbody> </table> </div> <div class="bold" ng-show="CR.page.total_pages>1"> <div dir-paging fn="CR.lists" pageob="CR.page"></div> </div> </div> <div class="text-center text-default pd20" ng-if="!CR.result.length">No record found.</div> </div> <!-- Form --> <div class="modal bs-modal-lg in" id="formModal" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button> <h4 class="modal-title">{{CR.dtl.id?'Update':'Add'}} User</h4> </div> <div class="modal-body fi-300 err-abs"> <form id="frm" autocomplete="off" spellcheck="false"> <input type="hidden" name="id" value="{{CR.dtl.id}}" /> <table class="form-tbl"> <tr> <td class="req">Name</td> <td><input type="text" class="form-control" name="name" ng-model="CR.dtl.name" maxlength="100"></td> </tr> <tr> <td class="req">Mobile No.</td> <td><input type="text" class="form-control" name="mobile" ng-model="CR.dtl.mobile" maxlength="10"></td> </tr> </table> <hr class="minus14" /> <table class="form-tbl"> <tr> <td class="req">Email</td> <td><input type="text" class="form-control" name="email" ng-model="CR.dtl.email" maxlength="100"></td> </tr> <!-- <tr> <td>Username</td> <td><input type="text" class="form-control" name="username" ng-model="CR.dtl.username" maxlength="20"></td> </tr> --> <tr> <td class="{{CR.dtl.id?'':'req'}}">Password</td> <td><input type="text" class="form-control" name="password" ng-model="CR.dtl.password" maxlength="100"></td> </tr> </table> <hr class="minus14" /> <table class="form-tbl"> <tr> <td class="req">User Type</td> <td> <select class="form-control" name="type" ng-model="CR.dtl.type" ng-change="CR.dtl.parent_id=''"> <option value="">Select</option> <option value="{{v}}" ng-repeat="v in CR.user_types">{{v}}</option> </select> </td> </tr> <tr ng-if="CR.dtl.type=='USER'"> <td>Regional Officer</td> <td> <select class="form-control" name="parent_id" ng-model="CR.dtl.parent_id"> <option value="">Select</option> <option value="{{r.id}}" ng-repeat="r in CR.regional_officers">{{r.name}}</option> </select> </td> </tr> </table> <hr class="minus14" /> <table class="form-tbl"> <tr> <td>Access Rights</td> <td> <div class="form-control"> <div class="" ng-repeat="r in CR.modules"> <label> <input type="checkbox" class="mchk" name="modules[]" value="{{r.id}}" /> {{r.module}} </label> </div> </div> </td> </tr> <tr> <td>Restrict Leads List</td> <td> <select class="form-control" name="lead_restrict" ng-model="CR.dtl.lead_restrict"> <option value="0">No</option> <option value="1">Yes</option> </select> </td> </tr> <tr> <td>Status</td> <td> <select class="form-control" name="status" ng-model="CR.dtl.status"> <option value="1">Active</option> <option value="0">Inactive</option> </select> </td> </tr> </table> </form> </div> <div class="modal-footer"> <button type="button" class="btn dark btn-outline" data-dismiss="modal">Close</button> <button type="button" class="btn green" ng-click="CR.save()">Save</button> </div> </div> </div> </div> <!-- Data Set Form --> <div ng-include="'views/tpl/lead_data_set_form.html?'+VERSION"></div> </div>