예제 #1
0
					<table class="table table-hover">
						<thead>
							<tr>
								<th></th>
								<th>Code#</th>
								<th>Stock#</th>
								<th>Brand</th>
								<th>Generic</th>
								<th>Details</th>
								<th>QTY</th>
								<th></th>
							</tr>
						</thead>
						<tbody>
							<?php 
foreach ($ro4->non_invoice_inventory_inventoryCode() as $inventoryCode) {
    ?>
								<?php 
    $totalItems += 1;
    ?>
								<tr>
									<td>
										<?php 
    if ($ro->selectNow("inventory", "quantity", "inventoryCode", $inventoryCode) == 0) {
        ?>
											<input type="checkbox" name="inventoryCode[]" value="<?php 
        echo $inventoryCode;
        ?>
" checked>
										<?php 
    } else {