This commit is contained in:
parent
f5ef6c66a4
commit
7e9134ecc3
|
@ -16,6 +16,7 @@
|
|||
<tr>
|
||||
<td class="font gray uppercase">{{$t('clientId')}}</td>
|
||||
<th>{{client.id}}</th>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="font gray uppercase">{{$t('invoice')}}</td>
|
||||
|
@ -80,6 +81,9 @@
|
|||
<span>{{formatDate(ticket.shipped, '%d-%m-%Y')}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<span class="pull-right">
|
||||
<h2>{{ticket.street}}</h2>
|
||||
</span>
|
||||
<span id="nickname" class="pull-right">
|
||||
<h2>{{ticket.nickname}}</h2>
|
||||
</span>
|
||||
|
|
|
@ -2,9 +2,12 @@ SELECT
|
|||
t.id,
|
||||
t.shipped,
|
||||
t.nickname,
|
||||
tto.description
|
||||
tto.description,
|
||||
t.addressFk,
|
||||
a.street
|
||||
FROM invoiceOut io
|
||||
JOIN ticket t ON t.refFk = io.REF
|
||||
JOIN `address` a ON a.id = t.addressFk
|
||||
LEFT JOIN observationType ot ON ot.code = 'invoiceOut'
|
||||
LEFT JOIN ticketObservation tto ON tto.ticketFk = t.id
|
||||
AND tto.observationTypeFk = ot.id
|
||||
|
|
Loading…
Reference in New Issue