f22464f4 by Prashant Jadhav

summary tab

1 parent f1d28282
...@@ -3077,7 +3077,255 @@ function createRacingCust() ...@@ -3077,7 +3077,255 @@ function createRacingCust()
3077 3077
3078 return $data; 3078 return $data;
3079 } 3079 }
3080 //for RLP
3081 function createRLP()
3082 {
3083 $dataarr=$this->recruitdata["peopledata"];
3084 $rlpcust = DB::table('p11086_cop_rlp_cust_base_uat')->where('pbcode','=',$dataarr["client"])->where('cod_cust','=',$dataarr["clientcode"])->select('*')->get();
3085 $data="";
3086 //echo "<pre>".print_r($rlpcust)."</pre>";
3087 $data.="<fieldset><legend class='new-recruit_legend'>RLP Customer WISE</legend>";
3088
3089 $data.="<div class=custom1 style='width:100%;'>
3090 <h2></h2>";
3080 3091
3092 $data.="<hr><br><table class='table kDataTable' cellpadding=0 cellspacing=0 border=0>
3093 <thead><tr>
3094 <td class='table_hrm_heading_green'>Product</td>
3095 <td class='table_hrm_heading_green'>Opportunity</td>
3096 <td class='table_hrm_heading_green'>Contacted</td>
3097 <td class='table_hrm_heading_green'>Total Unique Calls Made to customer with Opportunity </td>
3098 <td class='table_hrm_heading_green'>Total Unique Customers Pitched</td>
3099 <td class='table_hrm_heading_green'>LG (Offline)</td>
3100 <td class='table_hrm_heading_green'>LC</td>
3101 <td class='table_hrm_heading_green'>Activation</td>
3102 </tr></thead>";
3103 $data.="<tr>
3104 <td>Auto Loan</td>
3105 <td>
3106 <table>
3107 <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>
3108 </td>
3109 <td>".$rlpcust[0]->al_called_opp."</td>
3110 <td>".$rlpcust[0]->al_pitch."</td>
3111 <td></td>
3112 <td>".$rlpcust[0]->al_lg."</td>
3113 <td></td>
3114 <td></td>
3115 </tr>
3116 <tr>
3117 <td>Personal Loan</td>
3118 <td>
3119 <table>
3120 <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>
3121 </table>
3122 </td>
3123 <td>".$rlpcust[0]->pl_called_opp."</td>
3124 <td>".$rlpcust[0]->pl_pitch."</td>
3125 <td></td>
3126 <td>".$rlpcust[0]->pl_lg."</td>
3127 <td></td>
3128 <td></td>
3129 </tr>
3130 <tr>
3131 <td>Two Wheeler Loan</td>
3132 <td>".$rlpcust[0]->twl_pa_opp."</td>
3133 <td>".$rlpcust[0]->twl_called_opp."</td>
3134 <td>".$rlpcust[0]->twl_pitch."</td>
3135 <td></td>
3136 <td>".$rlpcust[0]->twl_lg."</td>
3137 <td></td>
3138 <td></td>
3139 </tr>
3140 <tr>
3141 <td>Home Loan</td>
3142 <td>
3143 <table>
3144 <tr><td>".$rlpcust[0]->hl_pq_opp."<td></tr><tr><td>".$rlpcust[0]->hl_bt_opp."<td></tr>
3145 </table>
3146 </td>
3147 <td>".$rlpcust[0]->hl_called_opp."</td>
3148 <td>".$rlpcust[0]->hl_pitch."</td>
3149 <td></td>
3150 <td>".$rlpcust[0]->hl_pitch."</td>
3151 <td></td>
3152 <td></td>
3153 </tr>
3154 <tr>
3155 <td>Gold Loan</td>
3156 <td>GL</td>
3157 <td></td>
3158 <td>".$rlpcust[0]->gl_pitch."</td>
3159 <td></td>
3160 <td></td>
3161 <td></td>
3162 <td></td>
3163 </tr>
3164 <tr>
3165 <td>Loan Against Securities</td>
3166 <td>".$rlpcust[0]->las_opp."</td>
3167 <td>".$rlpcust[0]->las_called_opp."</td>
3168 <td>".$rlpcust[0]->las_pitch."</td>
3169 <td></td>
3170 <td>".$rlpcust[0]->las_lg."</td>
3171 <td></td>
3172 <td></td>
3173 </tr>
3174 <tr>
3175 <td>Loan Against Property</td>
3176 <td>".$rlpcust[0]->lap_opp."</td>
3177 <td>".$rlpcust[0]->lap_called_opp."</td>
3178 <td></td>
3179 <td></td>
3180 <td>".$rlpcust[0]->lap_lg."</td>
3181 <td></td>
3182 <td></td>
3183 </tr>
3184 <tr>
3185 <td>HSL</td>
3186 <td>".$rlpcust[0]->hsl_opp."</td>
3187 <td>".$rlpcust[0]->hsl_called_opp."</td>
3188 <td>".$rlpcust[0]->hsl_pitch."</td>
3189 <td></td>
3190 <td></td>
3191 <td></td>
3192 <td></td>
3193 </tr>
3194 <tr>
3195 <td>Credit Card</td>
3196 <td>".$rlpcust[0]->cc_eli_new_opp."</td>
3197 <td>".$rlpcust[0]->cc_called_opp."</td>
3198 <td>".$rlpcust[0]->cc_pitch."</td>
3199 <td></td>
3200 <td>".$rlpcust[0]->cc_lg."</td>
3201 <td></td>
3202 <td></td>
3203 </tr>
3204 <tr>
3205 <td>CC Activation</td>
3206 <td>".$rlpcust[0]->cc_activation_opp."</td>
3207 <td>".$rlpcust[0]->cc_activation_called_opp."</td>
3208 <td></td>
3209 <td></td>
3210 <td></td>
3211 <td></td>
3212 <td></td>
3213 </tr>
3214 <tr>
3215 <td>LI</td>
3216 <td>".$rlpcust[0]->li_opp."</td>
3217 <td>".$rlpcust[0]->li_called_opp."</td>
3218 <td></td>
3219 <td></td>
3220 <td></td>
3221 <td></td>
3222 <td></td>
3223 </tr>
3224 <tr>
3225 <td>FD</td>
3226 <td>".$rlpcust[0]->fd_opp."</td>
3227 <td>".$rlpcust[0]->fd_called_opp."</td>
3228 <td>".$rlpcust[0]->fd_pitch."</td>
3229 <td></td>
3230 <td></td>
3231 <td></td>
3232 <td></td>
3233 </tr>
3234 <tr>
3235 <td>SAVINGS LTD(Transections (0-3))</td>
3236 <td>".$rlpcust[0]->ltd_act_saving_opp."</td>
3237 <td>".$rlpcust[0]->ltd_act_saving_called_opp."</td>
3238 <td></td>
3239 <td></td>
3240 <td></td>
3241 <td></td>
3242 <td></td>
3243 </tr>
3244 <tr>
3245 <td>Mobile Banking/Netbanking</td>
3246 <td>".$rlpcust[0]->mb_opp."</td>
3247 <td>".$rlpcust[0]->mb_called_opp."</td>
3248 <td>".$rlpcust[0]->mb_pitch."</td>
3249 <td></td>
3250 <td></td>
3251 <td></td>
3252 <td>".$rlpcust[0]->nb_mb_lg."</td>
3253 </tr>
3254 <tr>
3255 <td>Aadhaar</td>
3256 <td>".$rlpcust[0]->aadhaar_opp."</td>
3257 <td>".$rlpcust[0]->aadhaar_called_opp."</td>
3258 <td>".$rlpcust[0]->aadhaar_pitch."</td>
3259 <td></td>
3260 <td></td>
3261 <td></td>
3262 <td>".$rlpcust[0]->aadhaar_activation."</td>
3263 </tr>
3264 <tr>
3265 <td>Digital 2.0 Score (Inactive)</td>
3266 <td>".$rlpcust[0]->digi2_score_opp."</td>
3267 <td>".$rlpcust[0]->digi2_score_called_opp."</td>
3268 <td></td>
3269 <td></td>
3270 <td></td>
3271 <td></td>
3272 <td></td>
3273 </tr>
3274 <tr>
3275 <td>Digital 2.0 Score (Bill Pay Inactive)</td>
3276 <td>".$rlpcust[0]->digi_billpay_opp."</td>
3277 <td>".$rlpcust[0]->digi_billpay_called_opp."</td>
3278 <td>".$rlpcust[0]->bill_pay_pitch."</td>
3279 <td></td>
3280 <td>".$rlpcust[0]->las_lg."</td>
3281 <td></td>
3282 <td></td>
3283 </tr>
3284 <tr>
3285 <td>Digital 2.0 Score(Basic Banking Inactive)</td>
3286 <td>".$rlpcust[0]->digi_basic_banking_opp."</td>
3287 <td>".$rlpcust[0]->digi_basic_banking_called_opp."</td>
3288 <td>".$rlpcust[0]->las_pitch."</td>
3289 <td></td>
3290 <td>".$rlpcust[0]->las_lg."</td>
3291 <td></td>
3292 <td></td>
3293 </tr>
3294 <tr>
3295 <td>Digital 2.0 Score(Ecom Shopping Inactive)</td>
3296 <td>".$rlpcust[0]->digi_ecom_shopping_opp."</td>
3297 <td>".$rlpcust[0]->digi_ecom_shopping_called_opp."</td>
3298 <td></td>
3299 <td></td>
3300 <td></td>
3301 <td></td>
3302 <td></td>
3303 </tr>
3304 <tr>
3305 <td>Digital 2.0 Score(Investment Inactive)</td>
3306 <td>".$rlpcust[0]->digi_investment_opp."</td>
3307 <td>".$rlpcust[0]->digi_investment_called_opp."</td>
3308 <td>".$rlpcust[0]->invest_pitch."</td>
3309 <td></td>
3310 <td></td>
3311 <td></td>
3312 <td></td>
3313 </tr>
3314 <tr>
3315 <td>Digital 2.0 Score(PHYSICAL Inactive)</td>
3316 <td>".$rlpcust[0]->digi_physical_opp."</td>
3317 <td>".$rlpcust[0]->digi_physical_called_opp."</td>
3318 <td></td>
3319 <td></td>
3320 <td></td>
3321 <td></td>
3322 <td></td>
3323 </tr>
3324 </table></div></fieldset>";
3325
3326 return $data;
3327
3328 }
3081 3329
3082 function colorCodeRec($id) 3330 function colorCodeRec($id)
3083 { 3331 {
...@@ -3142,6 +3390,7 @@ function CreateForm(&$frm) ...@@ -3142,6 +3390,7 @@ function CreateForm(&$frm)
3142 //if(Auth::user()->username =="B654321" || Auth::user()->username =="B12345") 3390 //if(Auth::user()->username =="B654321" || Auth::user()->username =="B12345")
3143 //{ 3391 //{
3144 $frm['Lead Entry Form']["{{id}} {{firstname}}"][]=array(); 3392 $frm['Lead Entry Form']["{{id}} {{firstname}}"][]=array();
3393 $frm['RLP']["{{id}} {{firstname}}"][]=array();
3145 //} 3394 //}
3146 } 3395 }
3147 } 3396 }
...@@ -3210,6 +3459,7 @@ function CreateForm(&$frm) ...@@ -3210,6 +3459,7 @@ function CreateForm(&$frm)
3210 //if($tbname=='RacingCustomer')$tabsdata.=$this->createRacingCust(); 3459 //if($tbname=='RacingCustomer')$tabsdata.=$this->createRacingCust();
3211 if($tbname=='Racing Format')$tabsdata.=$this->createRacingCust(); 3460 if($tbname=='Racing Format')$tabsdata.=$this->createRacingCust();
3212 if($tbname=='Lead Entry Form')$tabsdata.=$this->createLeadEntryForm(); 3461 if($tbname=='Lead Entry Form')$tabsdata.=$this->createLeadEntryForm();
3462 if($tbname=='RLP')$tabsdata.=$this->createRLP();
3213 $tabsdata.="</div>"; 3463 $tabsdata.="</div>";
3214 $i++; 3464 $i++;
3215 } 3465 }
......
...@@ -123,7 +123,8 @@ return [ ...@@ -123,7 +123,8 @@ return [
123 "Role" => ["disp"=>"Role","icon"=>"home","dash"=>"","onclick"=>""], 123 "Role" => ["disp"=>"Role","icon"=>"home","dash"=>"","onclick"=>""],
124 "DialMode" => ["disp"=>"DialMode","icon"=>"home","dash"=>"","onclick"=>""], 124 "DialMode" => ["disp"=>"DialMode","icon"=>"home","dash"=>"","onclick"=>""],
125 "SupervisorModule" => ["disp"=>"SupervisorModule","icon"=>"globe","dash"=>"","onclick"=>"menuAction('SupervisorModule');"], 125 "SupervisorModule" => ["disp"=>"SupervisorModule","icon"=>"globe","dash"=>"","onclick"=>"menuAction('SupervisorModule');"],
126 "Notes" => ["disp"=>"Notes","icon"=>"globe","dash"=>"","onclick"=>"menuAction('notes');"], 126 "Notes" => ["disp"=>"Notes","icon"=>"globe","dash"=>"","onclick"=>"menuAction('notes');"],
127 "RLP" => ["disp"=>"RLP","icon"=>"globe","dash"=>"","onclick"=>"menuAction('rlp');"],
127 "Group" => ["disp"=>"Group","icon"=>"home","dash"=>"","onclick"=>"", 128 "Group" => ["disp"=>"Group","icon"=>"home","dash"=>"","onclick"=>"",
128 "title"=>env('app_name', 'Application'), 129 "title"=>env('app_name', 'Application'),
129 "keywords"=>"Kstych", 130 "keywords"=>"Kstych",
...@@ -134,6 +135,7 @@ return [ ...@@ -134,6 +135,7 @@ return [
134 ], 135 ],
135 136
136 137
138
137 'app_groups' => [], //loaded from db 139 'app_groups' => [], //loaded from db
138 'admindebug' => filter_var(env('APP_ADMIN_DEBUG',true), FILTER_VALIDATE_BOOLEAN), 140 'admindebug' => filter_var(env('APP_ADMIN_DEBUG',true), FILTER_VALIDATE_BOOLEAN),
139 'name' => env('app_name', 'Application'), 141 'name' => env('app_name', 'Application'),
......
...@@ -221,6 +221,8 @@ function waitKeyUpRun(varid,fncall,wttime) ...@@ -221,6 +221,8 @@ function waitKeyUpRun(varid,fncall,wttime)
221 function menuAction(menu) 221 function menuAction(menu)
222 { 222 {
223 $(".homemenu").removeClass("active"); 223 $(".homemenu").removeClass("active");
224 //doAjax(menu,'','content','ajax_'+menu,'singlethis','GET');
225 //for rlp pbwise call ajax
224 if(menu=='rlp'){ 226 if(menu=='rlp'){
225 pbcode=$('#tcampaign_select').val(); 227 pbcode=$('#tcampaign_select').val();
226 doAjax(menu+'?pbcode='+pbcode,'','content','ajax_'+menu,'singlethis','GET'); 228 doAjax(menu+'?pbcode='+pbcode,'','content','ajax_'+menu,'singlethis','GET');
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!