Remove fax number from onestep and walkin forms. #506

This commit is contained in:
Korina Cordero 2020-09-28 03:32:12 +00:00
parent dc2252f3e1
commit 2b42eb08a4
3 changed files with 0 additions and 16 deletions

View file

@ -501,7 +501,6 @@ class CMBJobOrderHandler implements JobOrderHandlerInterface
->setPhoneMobile($req->request->get('phone_mobile'))
->setPhoneLandline($req->request->get('phone_landline'))
->setPhoneOffice($req->request->get('phone_office'))
->setPhoneFax($req->request->get('phone_fax'))
->setCustomerNotes($req->request->get('customer_notes'));
$new_cv->setCustomer($new_cust)
@ -2656,7 +2655,6 @@ class CMBJobOrderHandler implements JobOrderHandlerInterface
->setPhoneMobile($req->request->get('phone_mobile'))
->setPhoneLandline($req->request->get('phone_landline'))
->setPhoneOffice($req->request->get('phone_office'))
->setPhoneFax($req->request->get('phone_fax'))
->setCustomerNotes($req->request->get('customer_notes'));
$new_cv->setCustomer($new_cust)

View file

@ -136,12 +136,6 @@
</div>
</div>
<div class="col-lg-6">
<label data-field="phone_fax">Fax</label>
<div class="input-group m-input-group">
<span class="input-group-addon">{% trans %}country_code_prefix{% endtrans %}</span>
<input type="text" name="phone_fax" id="customer-phone-fax" class="form-control m-input cust_field" value="{{ obj.getCustomer.getPhoneFax|default('') }}" data-vehicle-field="1" disabled>
<div class="form-control-feedback hide" data-field="phone_fax"></div>
</div>
</div>
</div>
<div class="form-group m-form__group row">
@ -1342,7 +1336,6 @@ $(function() {
$("#customer-phone-mobile").val(vdata.customer.phone_mobile);
$("#customer-phone-landline").val(vdata.customer.phone_landline);
$("#customer-phone-office").val(vdata.customer.phone_office);
$("#customer-phone-fax").val(vdata.customer.phone_fax);
$("#customer-customer-notes").val(vdata.customer.customer_notes);
$("#cv-mfg").val(vdata.vehicle.mfg_id);
// get vehicles for this manufacturer

View file

@ -136,12 +136,6 @@
</div>
</div>
<div class="col-lg-6">
<label data-field="phone_fax">Fax</label>
<div class="input-group m-input-group">
<span class="input-group-addon">{% trans %}country_code_prefix{% endtrans %}</span>
<input type="text" name="phone_fax" id="customer-phone-fax" class="form-control m-input cust_field" value="{{ obj.getCustomer.getPhoneFax|default('') }}" data-vehicle-field="1" disabled>
<div class="form-control-feedback hide" data-field="phone_fax"></div>
</div>
</div>
</div>
<div class="form-group m-form__group row">
@ -749,7 +743,6 @@ var vdata = false;
$("#customer-phone-mobile").val(vdata.customer.phone_mobile);
$("#customer-phone-landline").val(vdata.customer.phone_landline);
$("#customer-phone-office").val(vdata.customer.phone_office);
$("#customer-phone-fax").val(vdata.customer.phone_fax);
$("#customer-customer-notes").val(vdata.customer.customer_notes);
$("#cv-mfg").val(vdata.vehicle.mfg_id);