Fix bug on job packing list view #59

This commit is contained in:
Karl Cordes 2025-02-20 13:28:20 +11:00
parent 9106004c93
commit 72ca27a8be

View file

@ -115,7 +115,7 @@ foreach ($job['PurchaseOrder'] as $purchaseOrder):
<div class="related"> <div class="related">
<h3>Packing Lists for this Job</h3> <h3>Packing Lists for this Job</h3>
<?php if (!empty($packingLists)): ?> <?php if (!empty($job['PackingList'])): ?>
<table cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
<tr> <tr>
<th>Packing List</th> <th>Packing List</th>
@ -159,5 +159,5 @@ foreach ($job['PurchaseOrder'] as $purchaseOrder):
</div> </div>
<pre><?php print_r($job); ?></pre> <pre><?php //print_r($job); ?></pre>
<?php // debug($job);?> <?php // debug($job);?>