Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flexydial
/
hdfc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f22464f4
authored
2017-11-01 10:55:44 +0530
by
Prashant Jadhav
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
summary tab
1 parent
f1d28282
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
255 additions
and
1 deletions
application/app/Jobs/KFormLib.php
application/config/app.php
application/public/assets/js/kstych.js
application/resources/views/layout/module/dialer/DialerController.php
application/app/Jobs/KFormLib.php
View file @
f22464f
...
...
@@ -3077,7 +3077,255 @@ function createRacingCust()
return
$data
;
}
//for RLP
function
createRLP
()
{
$dataarr
=
$this
->
recruitdata
[
"peopledata"
];
$rlpcust
=
DB
::
table
(
'p11086_cop_rlp_cust_base_uat'
)
->
where
(
'pbcode'
,
'='
,
$dataarr
[
"client"
])
->
where
(
'cod_cust'
,
'='
,
$dataarr
[
"clientcode"
])
->
select
(
'*'
)
->
get
();
$data
=
""
;
//echo "<pre>".print_r($rlpcust)."</pre>";
$data
.=
"<fieldset><legend class='new-recruit_legend'>RLP Customer WISE</legend>"
;
$data
.=
"<div class=custom1 style='width:100%;'>
<h2></h2>"
;
$data
.=
"<hr><br><table class='table kDataTable' cellpadding=0 cellspacing=0 border=0>
<thead><tr>
<td class='table_hrm_heading_green'>Product</td>
<td class='table_hrm_heading_green'>Opportunity</td>
<td class='table_hrm_heading_green'>Contacted</td>
<td class='table_hrm_heading_green'>Total Unique Calls Made to customer with Opportunity </td>
<td class='table_hrm_heading_green'>Total Unique Customers Pitched</td>
<td class='table_hrm_heading_green'>LG (Offline)</td>
<td class='table_hrm_heading_green'>LC</td>
<td class='table_hrm_heading_green'>Activation</td>
</tr></thead>"
;
$data
.=
"<tr>
<td>Auto Loan</td>
<td>
<table>
<tr><td>"
.
$rlpcust
[
0
]
->
al_qm_opp
.
"</td></tr><tr><td>"
.
$rlpcust
[
0
]
->
al_upg_opp
.
"</td></tr><tr><td>"
.
$rlpcust
[
0
]
->
al_al_cnc_opp
.
"</td></tr><tr><td>"
.
$rlpcust
[
0
]
->
al_pa_opp
.
"</td></tr><tr><td>"
.
$rlpcust
[
0
]
->
al_zip_opp
.
"</td></tr></table>
</td>
<td>"
.
$rlpcust
[
0
]
->
al_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
al_pitch
.
"</td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
al_lg
.
"</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Personal Loan</td>
<td>
<table>
<tr><td>"
.
$rlpcust
[
0
]
->
pl_10sec_opp
.
"</td></tr><tr><td>"
.
$rlpcust
[
0
]
->
pl_pa_opp
.
"</td></tr><tr><td>"
.
$rlpcust
[
0
]
->
pl_pq_opp
.
"</td></tr><tr><td>"
.
$rlpcust
[
0
]
->
bl_10sec_opp
.
"</td></tr><tr><td>"
.
$rlpcust
[
0
]
->
bl_pq_opp
.
"</td></tr>
</table>
</td>
<td>"
.
$rlpcust
[
0
]
->
pl_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
pl_pitch
.
"</td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
pl_lg
.
"</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Two Wheeler Loan</td>
<td>"
.
$rlpcust
[
0
]
->
twl_pa_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
twl_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
twl_pitch
.
"</td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
twl_lg
.
"</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Home Loan</td>
<td>
<table>
<tr><td>"
.
$rlpcust
[
0
]
->
hl_pq_opp
.
"<td></tr><tr><td>"
.
$rlpcust
[
0
]
->
hl_bt_opp
.
"<td></tr>
</table>
</td>
<td>"
.
$rlpcust
[
0
]
->
hl_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
hl_pitch
.
"</td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
hl_pitch
.
"</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Gold Loan</td>
<td>GL</td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
gl_pitch
.
"</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Loan Against Securities</td>
<td>"
.
$rlpcust
[
0
]
->
las_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
las_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
las_pitch
.
"</td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
las_lg
.
"</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Loan Against Property</td>
<td>"
.
$rlpcust
[
0
]
->
lap_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
lap_called_opp
.
"</td>
<td></td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
lap_lg
.
"</td>
<td></td>
<td></td>
</tr>
<tr>
<td>HSL</td>
<td>"
.
$rlpcust
[
0
]
->
hsl_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
hsl_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
hsl_pitch
.
"</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Credit Card</td>
<td>"
.
$rlpcust
[
0
]
->
cc_eli_new_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
cc_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
cc_pitch
.
"</td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
cc_lg
.
"</td>
<td></td>
<td></td>
</tr>
<tr>
<td>CC Activation</td>
<td>"
.
$rlpcust
[
0
]
->
cc_activation_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
cc_activation_called_opp
.
"</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>LI</td>
<td>"
.
$rlpcust
[
0
]
->
li_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
li_called_opp
.
"</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>FD</td>
<td>"
.
$rlpcust
[
0
]
->
fd_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
fd_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
fd_pitch
.
"</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>SAVINGS LTD(Transections (0-3))</td>
<td>"
.
$rlpcust
[
0
]
->
ltd_act_saving_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
ltd_act_saving_called_opp
.
"</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Mobile Banking/Netbanking</td>
<td>"
.
$rlpcust
[
0
]
->
mb_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
mb_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
mb_pitch
.
"</td>
<td></td>
<td></td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
nb_mb_lg
.
"</td>
</tr>
<tr>
<td>Aadhaar</td>
<td>"
.
$rlpcust
[
0
]
->
aadhaar_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
aadhaar_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
aadhaar_pitch
.
"</td>
<td></td>
<td></td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
aadhaar_activation
.
"</td>
</tr>
<tr>
<td>Digital 2.0 Score (Inactive)</td>
<td>"
.
$rlpcust
[
0
]
->
digi2_score_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
digi2_score_called_opp
.
"</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Digital 2.0 Score (Bill Pay Inactive)</td>
<td>"
.
$rlpcust
[
0
]
->
digi_billpay_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
digi_billpay_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
bill_pay_pitch
.
"</td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
las_lg
.
"</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Digital 2.0 Score(Basic Banking Inactive)</td>
<td>"
.
$rlpcust
[
0
]
->
digi_basic_banking_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
digi_basic_banking_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
las_pitch
.
"</td>
<td></td>
<td>"
.
$rlpcust
[
0
]
->
las_lg
.
"</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Digital 2.0 Score(Ecom Shopping Inactive)</td>
<td>"
.
$rlpcust
[
0
]
->
digi_ecom_shopping_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
digi_ecom_shopping_called_opp
.
"</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Digital 2.0 Score(Investment Inactive)</td>
<td>"
.
$rlpcust
[
0
]
->
digi_investment_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
digi_investment_called_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
invest_pitch
.
"</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Digital 2.0 Score(PHYSICAL Inactive)</td>
<td>"
.
$rlpcust
[
0
]
->
digi_physical_opp
.
"</td>
<td>"
.
$rlpcust
[
0
]
->
digi_physical_called_opp
.
"</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table></div></fieldset>"
;
return
$data
;
}
function
colorCodeRec
(
$id
)
{
...
...
@@ -3142,6 +3390,7 @@ function CreateForm(&$frm)
//if(Auth::user()->username =="B654321" || Auth::user()->username =="B12345")
//{
$frm
[
'Lead Entry Form'
][
"
{
{id}
}
{
{firstname}
}
"
][]
=
array
();
$frm
[
'RLP'
][
"
{
{id}
}
{
{firstname}
}
"
][]
=
array
();
//}
}
}
...
...
@@ -3210,6 +3459,7 @@ function CreateForm(&$frm)
//if($tbname=='RacingCustomer')$tabsdata.=$this->createRacingCust();
if
(
$tbname
==
'Racing Format'
)
$tabsdata
.=
$this
->
createRacingCust
();
if
(
$tbname
==
'Lead Entry Form'
)
$tabsdata
.=
$this
->
createLeadEntryForm
();
if
(
$tbname
==
'RLP'
)
$tabsdata
.=
$this
->
createRLP
();
$tabsdata
.=
"</div>"
;
$i
++
;
}
...
...
application/config/app.php
View file @
f22464f
...
...
@@ -123,7 +123,8 @@ return [
"Role"
=>
[
"disp"
=>
"Role"
,
"icon"
=>
"home"
,
"dash"
=>
""
,
"onclick"
=>
""
],
"DialMode"
=>
[
"disp"
=>
"DialMode"
,
"icon"
=>
"home"
,
"dash"
=>
""
,
"onclick"
=>
""
],
"SupervisorModule"
=>
[
"disp"
=>
"SupervisorModule"
,
"icon"
=>
"globe"
,
"dash"
=>
""
,
"onclick"
=>
"menuAction('SupervisorModule');"
],
"Notes"
=>
[
"disp"
=>
"Notes"
,
"icon"
=>
"globe"
,
"dash"
=>
""
,
"onclick"
=>
"menuAction('notes');"
],
"Notes"
=>
[
"disp"
=>
"Notes"
,
"icon"
=>
"globe"
,
"dash"
=>
""
,
"onclick"
=>
"menuAction('notes');"
],
"RLP"
=>
[
"disp"
=>
"RLP"
,
"icon"
=>
"globe"
,
"dash"
=>
""
,
"onclick"
=>
"menuAction('rlp');"
],
"Group"
=>
[
"disp"
=>
"Group"
,
"icon"
=>
"home"
,
"dash"
=>
""
,
"onclick"
=>
""
,
"title"
=>
env
(
'app_name'
,
'Application'
),
"keywords"
=>
"Kstych"
,
...
...
@@ -134,6 +135,7 @@ return [
],
'app_groups'
=>
[],
//loaded from db
'admindebug'
=>
filter_var
(
env
(
'APP_ADMIN_DEBUG'
,
true
),
FILTER_VALIDATE_BOOLEAN
),
'name'
=>
env
(
'app_name'
,
'Application'
),
...
...
application/public/assets/js/kstych.js
View file @
f22464f
...
...
@@ -221,6 +221,8 @@ function waitKeyUpRun(varid,fncall,wttime)
function
menuAction
(
menu
)
{
$
(
".homemenu"
).
removeClass
(
"active"
);
//doAjax(menu,'','content','ajax_'+menu,'singlethis','GET');
//for rlp pbwise call ajax
if
(
menu
==
'rlp'
){
pbcode
=
$
(
'#tcampaign_select'
).
val
();
doAjax
(
menu
+
'?pbcode='
+
pbcode
,
''
,
'content'
,
'ajax_'
+
menu
,
'singlethis'
,
'GET'
);
...
...
application/resources/views/layout/module/dialer/DialerController.php
0 → 100644
View file @
f22464f
This diff is collapsed.
Click to expand it.
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment