Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="widget-body" id="multiplicar">
- <table class="table table-bordered table-striped table-white" id="lol">
- <thead>
- <input style="background: #ff4841; color: white; border-color: black" type="button" id="btn" name=""value="+" onclick="sumar();"/>
- <input style="background: #ff4841; color: white; border-color: black" type="button" id="btn2" name=""value="-" onclick="restar();"/>
- <tr>
- <th class="center">No.</th>
- <th><?php echo __("Description"); ?></th>
- <th><?php echo __("Quantity"); ?></th>
- <th><?php echo __("Unit"); ?></th>
- <th><?php echo __("Precio"); ?></th>
- <th><?php echo __("Total"); ?></th>
- </tr>
- </thead>
- <?php for ($i=0; $i<$quantity; $i++) : echo $quantity; ?>
- <?php $n=$i+1; ?>
- <tbody>
- <tr>
- <td class="center"><?php echo $n; ?></td>
- <td><input name="bl_<?php echo $i; ?>" id="bl_<?php echo $i; ?>" type="text" class="span12 inputbox" size="15"></td>
- <td><input name="can_<?php echo $i; ?>" id="1<?php echo $i; ?>" type="text" class="span6 inputbox" size="15" value= 0 onchange="multiplicar()"></td>
- <td>
- <select name="medida_<?php echo $i; ?>" id="medida_<?php echo $i; ?>" class="selectpicker span9" >
- <option value="PZA">PZA</option>
- <option value="KGS">KGS</option>
- <option value="CJA">CJA</option>
- <option value="PAQ">PAQ</option>
- <option value="MTS">MTS</option>
- <option value="SERV">SERV</option>
- </select>
- </td>
- <td><input name="dp_<?php echo $i; ?>" id="2<?php echo $i; ?>" type="text" class="span6 inputbox" size="15" value= 0 onclick="multiplicar()" ></td>
- <td><input name="to_<?php echo $i; ?>" id="3<?php echo $i; ?>" type="text" class="span6 inputbox" size="15" ></td>
- </tr>
- </tbody>
- <?php endfor; ?>
Add Comment
Please, Sign In to add comment