refs #5995 Modify sql
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Guillermo Bonet 2023-08-03 08:39:37 +02:00
parent aab0771e6e
commit 688a72ddb3
2 changed files with 3 additions and 2 deletions

View File

@ -202,7 +202,7 @@
</span> </span>
<hr> <hr>
<div class="imgSection"> <div class="imgSection">
<img v-bind:src="signPath"/> <img :src="signPath"/>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -1,5 +1,5 @@
SELECT c.id cmrFk, SELECT c.id cmrFk,
c.ticketFk, t.id ticketFk,
c.truckPlate, c.truckPlate,
c.observations, c.observations,
c.senderInstruccions, c.senderInstruccions,
@ -48,4 +48,5 @@ SELECT c.id cmrFk,
LEFT JOIN `address` a2 ON a2.id = c.addressFromFk LEFT JOIN `address` a2 ON a2.id = c.addressFromFk
LEFT JOIN province p2 ON p2.id = a2.provinceFk LEFT JOIN province p2 ON p2.id = a2.provinceFk
LEFT JOIN country cou4 ON cou4.id = p2.countryFk LEFT JOIN country cou4 ON cou4.id = p2.countryFk
LEFT JOIN ticket t ON t.cmrFk = c.id
WHERE c.id = ? WHERE c.id = ?