<div class="modal-header">
	<h4 class="modal-title" id="tooltipmodel">Transactions Detail</h4>
	<button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button>
</div>
<div class="modal-body">
	<?php if(isset($actid)) {?>
	<div class='row'>
		<div class='col-12'>AR : <?php echo "($actid) $subject";?></div>
	</div>
	<?php } ?>
	
	<div class="table-responsive">
		<table class="table display table-striped border">
			<thead>
				<tr> <th>Product</th> <th>Lot#</th> <th>Qty.</th> <th>Origin</th> <th>Dest.</th> </tr>
			</thead>
			<tbody>
			<?php 
			foreach($invtrans as $data) {
				$catalognumber = $data['catalognumber'];
				$productname = $data['productname'];
				$qty = $data['qty'];
				$unit = $data['unit'];
				$lotnumber = $data['lotnumber'];
				$origin = $data['origin'];
				$dest = $data['dest'];
				echo "<tr> <td>( $catalognumber ) $productname</td> <td>$lotnumber</td> <td>$qty $unit</td> <td>$origin</td> <td>$dest</td> </tr>";
			}
			?>
			</tbody>
		</table>
	</div>
</div>
<div class="modal-footer">
	<button type="button" class="btn btn-info waves-effect text-white" data-bs-dismiss="modal">Close</button>
</div>
