Change Delivery Instructions label to Delivery Instructions - CarFix Job Order No. #270

This commit is contained in:
Korina Cordero 2019-10-15 05:24:13 +00:00
parent c6b31569a6
commit c2fbb75a69
6 changed files with 7 additions and 3 deletions

View file

@ -1591,6 +1591,7 @@ class CMBJobOrderHandler implements JobOrderHandlerInterface
// translate the title and the logo for the pdf
$translated_title = $translator->trans('jo_title_pdf');
$translated_logo = $translator->trans('image_jo_pdf');
$translated_delivery_instructions_label = $translator->trans('delivery_instructions_label');
// generate the pdf
$pdf = new FPDF('P', 'mm', 'letter');
@ -1822,7 +1823,7 @@ class CMBJobOrderHandler implements JobOrderHandlerInterface
$pdf->SetY($y);
$pdf->Ln();
$pdf->SetFont($font_face, 'B', $header_font_size);
$pdf->Cell(0, $line_height, 'Delivery Instructions');
$pdf->Cell(0, $line_height, $translated_delivery_instructions_label);
$pdf->Ln();
$pdf->SetFont($font_face, '', $body_font_size);

View file

@ -308,7 +308,7 @@
</div>
<br>
<div class="col-lg-12 form-group-inner">
<label data-field="delivery_instructions">Delivery Instructions</label>
<label data-field="delivery_instructions">{% trans %}delivery_instructions_label{% endtrans %}</label>
<textarea name="delivery_instructions" class="form-control m-input" rows="4">{{ obj.getDeliveryInstructions }}</textarea>
</div>
</div>

View file

@ -221,7 +221,7 @@
<div class="form-group m-form__group row">
<div class="col-lg-6">
<div class="col-lg-12 form-group-inner">
<label data-field="delivery_instructions">Delivery Instructions</label>
<label data-field="delivery_instructions">{% trans %}delivery_instructions_label{% endtrans %}</label>
<textarea name="delivery_instructions" class="form-control m-input" rows="4">{{ obj.getDeliveryInstructions }}</textarea>
</div>
</div>

View file

@ -11,6 +11,7 @@ battery_size_tradein_other: Trade-in Other
add_cust_vehicle_battery_info: This vehicle is using a Motolite battery
jo_title_pdf: Res-Q for CMB Job Order
country_code_prefix: '+60'
delivery_instructions_label: 'Delivery Instructions - CarFix Job Order No.'
# images
image_logo_login: /assets/images/black-text-logo-01.png

View file

@ -11,6 +11,7 @@ battery_size_tradein_other: Trade-in Other
add_cust_vehicle_battery_info: This vehicle is using a Motolite battery
jo_title_pdf: Res-Q for CMB Job Order
country_code_prefix: '+60'
delivery_instructions_label: 'Delivery Instructions - CarFix Job Order No.'
# images
image_logo_login: /assets/images/black-text-logo-01.png

View file

@ -11,6 +11,7 @@ battery_size_tradein_other: Trade-in Other
add_cust_vehicle_battery_info: This vehicle is using a Motolite battery
jo_title_pdf: Motolite Res-Q Job Order
country_code_prefix: '+63'
delivery_instructions_label: Delivery Instructions
# images
image_logo_login: /assets/images/logo-resq.png