| Line 118... |
Line 118... |
| 118 |
#if("$!lead.getAddress()" != "")#set($loc = "$!lead.getAddress()")#end
|
118 |
#if("$!lead.getAddress()" != "")#set($loc = "$!lead.getAddress()")#end
|
| 119 |
#if("$!lead.getCity()" != "")#if($loc != "")#set($loc = "$loc, ")#end#set($loc = "$loc$!lead.getCity()")#end
|
119 |
#if("$!lead.getCity()" != "")#if($loc != "")#set($loc = "$loc, ")#end#set($loc = "$loc$!lead.getCity()")#end
|
| 120 |
#if("$!lead.getState()" != "")#if($loc != "")#set($loc = "$loc, ")#end#set($loc = "$loc$!lead.getState()")#end
|
120 |
#if("$!lead.getState()" != "")#if($loc != "")#set($loc = "$loc, ")#end#set($loc = "$loc$!lead.getState()")#end
|
| 121 |
<tr><td class="k">Location</td><td>#if($loc != "")$loc#else—#end</td></tr>
|
121 |
<tr><td class="k">Location</td><td>#if($loc != "")$loc#else—#end</td></tr>
|
| 122 |
<tr><td class="k">Region</td><td>#if($lead.getRegionCode())$lead.getRegionCode()#else—#end</td></tr>
|
122 |
<tr><td class="k">Region</td><td>#if($lead.getRegionCode())$lead.getRegionCode()#else—#end</td></tr>
|
| - |
|
123 |
## Formatted by the controller: potential holds lakhs on new rows and rupees on
|
| - |
|
124 |
## older ones, and normalising that in Velocity would mean rounding in a template.
|
| 123 |
<tr><td class="k">Business value</td><td>#if($lead.getPotential() > 0)₹ $lead.getPotential()/mo#else—#end</td></tr>
|
125 |
<tr><td class="k">Business value</td><td>#if($businessValue)₹${businessValue}/mo#else—#end</td></tr>
|
| 124 |
<tr><td class="k">Source</td><td>$!lead.getSource()</td></tr>
|
126 |
<tr><td class="k">Source</td><td>$!lead.getSource()</td></tr>
|
| 125 |
<tr><td class="k">Last disposition</td><td>#if($lead.getDisposition())$lead.getDisposition().name().replace("_"," ")#if($lead.getDispositionSubReason()) · $lead.getDispositionSubReason()#end#else—#end</td></tr>
|
127 |
<tr><td class="k">Last disposition</td><td>#if($lead.getDisposition())$lead.getDisposition().name().replace("_"," ")#if($lead.getDispositionSubReason()) · $lead.getDispositionSubReason()#end#else—#end</td></tr>
|
| 126 |
<tr><td class="k">Owner BM/RSM</td><td>#if($bm)$bm.getFullName() <span class="lms-note" style="display:inline">(auto)</span>#else—#end</td></tr>
|
128 |
<tr><td class="k">Owner BM/RSM</td><td>#if($bm)$bm.getFullName() <span class="lms-note" style="display:inline">(auto)</span>#else—#end</td></tr>
|
| 127 |
<tr><td class="k">Working owner</td><td>#if($owner)$owner.getFullName()#else—#end</td></tr>
|
129 |
<tr><td class="k">Working owner</td><td>#if($owner)$owner.getFullName()#else—#end</td></tr>
|
| 128 |
</table>
|
130 |
</table>
|
| Line 312... |
Line 314... |
| 312 |
<div class="col-sm-6" style="margin-bottom:10px;">
|
314 |
<div class="col-sm-6" style="margin-bottom:10px;">
|
| 313 |
<label style="font-size:12px;color:#7683a4;">Contact number (required)</label>
|
315 |
<label style="font-size:12px;color:#7683a4;">Contact number (required)</label>
|
| 314 |
<input id="ed_mobile" class="form-control input-sm" value="$!lead.getLeadMobile()" maxlength="10">
|
316 |
<input id="ed_mobile" class="form-control input-sm" value="$!lead.getLeadMobile()" maxlength="10">
|
| 315 |
</div>
|
317 |
</div>
|
| 316 |
<div class="col-sm-6" style="margin-bottom:10px;">
|
318 |
<div class="col-sm-6" style="margin-bottom:10px;">
|
| 317 |
<label style="font-size:12px;color:#7683a4;">Business value (₹/month)</label>
|
319 |
<label style="font-size:12px;color:#7683a4;">Business value (₹ lakh / month)</label>
|
| 318 |
<input id="ed_potential" type="number" min="0" step="1000" class="form-control input-sm" value="#if($lead.getPotential() > 0)$lead.getPotential()#end">
|
320 |
<input id="ed_potential" type="number" min="0" step="0.5" class="form-control input-sm" value="$!businessValueInput">
|
| 319 |
</div>
|
321 |
</div>
|
| 320 |
<div class="col-sm-12" style="margin-bottom:10px;">
|
322 |
<div class="col-sm-12" style="margin-bottom:10px;">
|
| 321 |
<label style="font-size:12px;color:#7683a4;">Address</label>
|
323 |
<label style="font-size:12px;color:#7683a4;">Address</label>
|
| 322 |
<input id="ed_address" class="form-control input-sm" value="$!lead.getAddress()" placeholder="Shop address">
|
324 |
<input id="ed_address" class="form-control input-sm" value="$!lead.getAddress()" placeholder="Shop address">
|
| 323 |
</div>
|
325 |
</div>
|