%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 Leads Data Sets</h2></li> </ul> <div class="page-toolbar"> <!-- <a href="" class="btn blue btn-outline pull-right" ng-click="DS.open_form()"><i class="fa fa-plus"></i> Add New</a> --> </div> </div> <!-- --> <div> <div> <!-- Search --> <div class="form-group"> <a href="" class="btn blue btn-outline pull-right" ng-click11="DS.open_form()" ng-click="DS.edit(DS.my_data_set_id, true)" ng-if="modules['edit_lead_data_set']"><i class="fa fa-plus"></i> Add New</a> <form ng-submit="DS.lists()"> <div class="form-inline fc-sm"> <input type="text" ng-model="DS.sdata.k" class="form-control w200" placeholder="Keyword..." /> <button type="submit" class="btn btn-info">Search</button> </div> </form> </div> <!-- / --> <div ng-if="DS.result.length"> <div class="text-secondary bold mb10"> Showing {{DS.page.start+1}} - {{DS.page.start+DS.page.total}} of {{DS.page.total_records}} records. </div> <div class="table-responsive"> <table class="table table-striped table-bordered table-advance table-hover tablemd"> <thead class="vmid uc"> <tr> <th class="w20">SN</th> <th>Data Set Name</th> <th class="w100">Expiry Date</th> <th class="w100">Leads From</th> <th class="w100">Leads To</th> <th class="w200">Created By</th> <th class="w150">Leads Count</th> <th class="w85" ng-if="modules['edit_lead_data_set']"></th> </tr> </thead> <tbody> <tr ng-repeat="(i,r) in DS.result"> <td>{{i+DS.page.start+1}}.</td> <td> <div class="bold">{{r.title}}</div> <div class="note-text" ng-if="r.is_campaign">Campaign Data Set</div> <div class="note-text" ng-if="r.is_webinar">Webinar Data Set</div> <div class="pt5"> <button type="button" class="btn btn-xs purple" ng-if="modules['split_data_set']" ng-click="DS.openSplitForm(r)">Split to Callers</button> </div> <div class="pt5 note-text" ng-if="r.splitDtl.length"> <div ng-repeat="sd in r.splitDtl"> {{sd.name}} - <strong>{{sd.no_of_leads}}</strong> </div> <div class="pt3 font-purple"> Allocated on <strong>{{r.splitDtl[0].created}}</strong> by <strong>{{r.splitDtl[0].created_by}}</strong> </div> </div> </td> <td>{{r.expiry_date}}</td> <td>{{r.lead_date_from}}</td> <td>{{r.lead_date_to}}</td> <td> {{r.usr}} <div class="pt3"> @ {{r.created}} </div> </td> <td class="nowrap"> <strong>{{r.leads_count}}</strong> <div class="pdT5 note-text"> <div class="bold">Filters Used:</div> <div>{{r.filters_used}}</div> </div> <div class="pt5"> <a href="api/dataset/download_leads/{{r.id}}" target="self" class="btn btn-xs green"><i class="fa fa-download"></i> Download</a> </div> </td> <td class="text-center" ng-if="modules['edit_lead_data_set']"> <div class="btn-group btn-group-solid"> <button type="button" class="btn btn-xs default" ng-click="DS.edit(r.id)"><i class="fa fa-edit"></i></button> <button type="button" class="btn btn-xs red" ng-click="DS.delete(r.id)"><i class="fa fa-trash-o"></i></button> </div> </td> </tr> </tbody> </table> </div> <div class="bold" ng-show="DS.page.total_pages>1"> <div dir-paging fn="DS.lists" pageob="DS.page"></div> </div> </div> <div class="text-center text-default pd20" ng-if="!DS.result.length">No record found.</div> </div> </div> <!-- Form --> <div ng-include="'views/leads/lead_data_set_form.html?'+VERSION"></div> <!-- Split Form --> <div class="modal bs-modal-lg in" id="splitFormModal" 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">Dataset Split</h4> </div> <div class="modal-body"> <div class="mb10"> <div class="table-responsive"> <table class="table table-bordered table-advance tablemd"> <thead class="vmid uc"> <tr> <th>Data Set</th> <th class="w100 nowrap text-center">No. Of Leads</th> </tr> </thead> <tbody class=""> <tr> <td class="bold"> {{DS.splitData.ds_name}} <div class="pt5 note-text" ng-if="DS.splitDtl.length"> <div ng-repeat="sd in DS.splitDtl"> {{sd.name}} - <strong>{{sd.no_of_leads}}</strong> </div> <div class="pt3 font-purple"> Allocated on <strong>{{DS.splitDtl[0].created}}</strong> by <strong>{{DS.splitDtl[0].created_by}}</strong> </div> </div> </td> <td class="bold text-center">{{DS.splitData.leads_count}}</td> </tr> </tbody> </table> </div> <div class="table-responsive" ng-if="DS.splitData.callers.length"> <table class="table table-bordered table-advance tablemd"> <thead class="vmid uc"> <tr> <th>Caller</th> <th class="w100 nowrap">No. Of Leads</th> <th class="w20"></th> </tr> </thead> <tbody class="vmid"> <tr ng-repeat="(i,r) in DS.splitData.callers"> <td> <select class="form-control input-sm" ng-model="r.id"> <option value="">--Select--</option> <option value="{{c.id}}" ng-repeat="c in DS.callers">{{c.name}}</option> </select> </td> <td> <input type="text" class="form-control input-sm text-center" valid="int" ng-model="r.no_of_leads" /> </td> <td class="text-center"> <button type="button" class="btn btn-xs red" ng-click="DS.removeSplitCaller(i)"><i class="fa fa-trash-o"></i></button> </td> </tr> <tr> <td></td> <td class="bold text-center">{{DS.totalSplitCallersLeads()}}</td> <td></td> </tr> </tbody> </table> </div> <button type="button" class="btn btn-xs blue" ng-click="DS.addSplitCaller()"><i class="fa fa-plus"></i> Add Caller</button> </div> </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="DS.splitDataset()">Save</button> </div> </div> </div> </div>