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->from('T_MaterialMaster');
|
||||
//$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();
|
||||
return $supp->result();
|
||||
|
||||
|
||||
@ -118,6 +118,7 @@ if(!empty($currentstock))
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
@ -182,7 +183,7 @@ $("#Date").datepicker({
|
||||
<label for="RMcode">MaterialCode</label>
|
||||
<input type="text" class="form-control" readonly id="RMcode" name="RMcode" maxlength="255" value="<?php echo $MaterialCode;?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="MaterialName">Material Name</label><font color="Red">*</font>
|
||||
|
||||
@ -51,7 +51,11 @@
|
||||
<td style="width:12%;"><?php echo $record->MaterialName ?></td>
|
||||
<td style="width:10%;"><?php echo $record->MaterialType ?></td>
|
||||
<td style="width:7%;"><?php echo $record->UOM ?></td>
|
||||
<?php if($record->stock != null || ''){?>
|
||||
<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->ConversionFactorUnit ?></td>
|
||||
<td style="width:11%;"><?php echo $record->ConversionFactorUOM ?></td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user