final product
This commit is contained in:
parent
6f0fb3baf8
commit
9d50b44b29
@ -660,7 +660,7 @@ class batchcard_model extends CI_Model
|
|||||||
$this->db->select('MaterialCode,MaterialName,');
|
$this->db->select('MaterialCode,MaterialName,');
|
||||||
$this->db->from('T_MaterialMaster');
|
$this->db->from('T_MaterialMaster');
|
||||||
//$this->db->where('T_MaterialMaster.Category',Consumables);
|
//$this->db->where('T_MaterialMaster.Category',Consumables);
|
||||||
$this->db->where('T_MaterialMaster.Category like','%Consumables%');
|
$this->db->where('T_MaterialMaster.Category like','%Consumable%');
|
||||||
$supp = $this->db->get();
|
$supp = $this->db->get();
|
||||||
return $supp->result();
|
return $supp->result();
|
||||||
|
|
||||||
|
|||||||
@ -118,6 +118,7 @@ if(!empty($currentstock))
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
@ -51,7 +51,11 @@
|
|||||||
<td style="width:12%;"><?php echo $record->MaterialName ?></td>
|
<td style="width:12%;"><?php echo $record->MaterialName ?></td>
|
||||||
<td style="width:10%;"><?php echo $record->MaterialType ?></td>
|
<td style="width:10%;"><?php echo $record->MaterialType ?></td>
|
||||||
<td style="width:7%;"><?php echo $record->UOM ?></td>
|
<td style="width:7%;"><?php echo $record->UOM ?></td>
|
||||||
|
<?php if($record->stock != null || ''){?>
|
||||||
<td style="width:7%;"><?php echo $record->stock?></td>
|
<td style="width:7%;"><?php echo $record->stock?></td>
|
||||||
|
<?php } else{?>
|
||||||
|
<td style="width:7%;">0</td>
|
||||||
|
<?php }?>
|
||||||
<td style="width:11%;"><?php echo $record->Category ?></td>
|
<td style="width:11%;"><?php echo $record->Category ?></td>
|
||||||
<td style="width:11%;"><?php echo $record->ConversionFactorUnit ?></td>
|
<td style="width:11%;"><?php echo $record->ConversionFactorUnit ?></td>
|
||||||
<td style="width:11%;"><?php echo $record->ConversionFactorUOM ?></td>
|
<td style="width:11%;"><?php echo $record->ConversionFactorUOM ?></td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user