SHOW:
|
|
- or go back to the newest paste.
| 1 | - | <?php $sum=0; ?> |
| 1 | + | <tr> |
| 2 | <?php foreach ($category as $cf1): ?> | |
| 3 | <?php if($cf->md_rooms_rtype_id==$cf1->md_rooms_rtype_id) { ?>
| |
| 4 | - | <input type="text" class="form-control input-sm" name="type_id[]" value="<?php echo $cf2->md_rooms_rrates_price+$sum; ?>"> |
| 4 | + | <td class="col-xs-2 col-sm-2 col-md-2 bg-color">JUMLAH</td> |
| 5 | - | <?php } endforeach ?> |
| 5 | + | <td> |
| 6 | <div class="row"> | |
| 7 | <div class="col-xs-3 col-sm-3 col-md-4"> | |
| 8 | <?php $sum=0; ?> | |
| 9 | <?php foreach($cfields2 as $cf2): ?> | |
| 10 | <?php if($cf2->md_rooms_rtype_id==$cf->md_rooms_rtype_id){?>
| |
| 11 | <input type="text" class="form-control input-sm" name="type_id[]" value="<?php echo $sum+=$cf2->md_rooms_rrates_price; ?>"> | |
| 12 | <?php } endforeach ?> | |
| 13 | </div> | |
| 14 | </div> | |
| 15 | </td> | |
| 16 | <?php } endforeach; ?> | |
| 17 | </tr> |