3444-print_claim-pickup-order add client.phone #829
|
@ -23,6 +23,10 @@
|
|||
<td class="font gray uppercase">{{$t('clientId')}}</td>
|
||||
<th>{{client.id}}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="font gray uppercase">{{$t('phone')}}</td>
|
||||
<th>{{client.phone}}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="font gray uppercase">{{$t('date')}}</td>
|
||||
<th>{{dated}}</th>
|
||||
|
|
|
@ -9,6 +9,7 @@ reference: Referencia
|
|||
concept: Concepto
|
||||
clientSignature: Firma del cliente
|
||||
claim: Reclamación {0}
|
||||
phone: Teléfono
|
||||
sections:
|
||||
agency:
|
||||
description: 'Para agilizar su recogida, por favor, póngase en contacto con la oficina
|
||||
|
|
|
@ -8,7 +8,8 @@ SELECT
|
|||
a.street,
|
||||
a.nickname,
|
||||
p.name AS province,
|
||||
ct.country
|
||||
ct.country,
|
||||
IFNULL(c.phone, cc.phone) AS phone
|
||||
FROM claim cl
|
||||
JOIN client c ON c.id = cl.clientFk
|
||||
JOIN account.user u ON u.id = c.id
|
||||
|
@ -17,4 +18,6 @@ FROM claim cl
|
|||
LEFT JOIN province p ON p.id = a.provinceFk
|
||||
LEFT JOIN autonomy amy ON amy.id = p.autonomyFk
|
||||
LEFT JOIN country ct ON ct.id = amy.countryFk
|
||||
WHERE cl.id = ?
|
||||
LEFT JOIN clientContact cc ON cc.clientFk = c.id
|
||||
WHERE cl.id = ?
|
||||
LIMIT 1;
|
Loading…
Reference in New Issue