Exemplo n.º 1
0
    ?>
									<td width="5%"> <?php 
    echo $a;
    ?>
 </td>
									<td width="10%"> <?php 
    echo GetValue('title', 'barang', array('id' => 'where/' . $ls->kode_barang));
    ?>
 </td>
									<!--th width="20%"> Deskripsi </th-->
									<td width="5%"><?php 
    echo form_input('jumlah_komposisi[]', $ls->jumlah);
    ?>
</td>
									<td width="10%"> <?php 
    echo form_dropdown('satuan[]', getoptsatuan($ls->kode_barang), $ls->satuan_id);
    ?>
 </td>
								</tr>
								<?php 
    $a++;
}
?>
							</thead>
							<tbody>
							</tbody>
						</table>
					</div>
					</div>
				</div>
				</fieldset>
Exemplo n.º 2
0
                                <th width="15%"> Sub Total </th>
                                <th width="5%"><?php 
    echo $daftar['pajak'];
    ?>
</th-->
                        <?php 
    $suggest = isset($part) ? $carisisa['sisa'] : $daftar['jumlah'];
    ?>
                        <th width="5%">
                        <?php 
    echo form_input("jumlah[{$c}]", $suggest, 'max="' . $suggest . '" type="number"');
    ?>
</th>
                        <th width="5%">
                        <?php 
    echo form_dropdown("satuan[{$c}]", getoptsatuan($daftar['kode_barang']), $daftar['satuan_id']);
    ?>
                        </th>
                        <th>
                        	<a target="_blank" href="<?php 
    echo base_url("uploads/pr/" . $daftar['attachment']);
    ?>
"><?php 
    echo $daftar['attachment'];
    ?>
</a>
                        </th>
                    </tr><?php 
    $c++;
}
?>