<td><?php echo Html::a('', ['inventory/cartdel', 'id' => $items['rowid']], ['class' => 'btn btn-danger glyphicon glyphicon-remove']); ?> </td> </tr> <?php $i++; ?> <?php } ?> <tr> <td colspan="3"> </td> <td class="right"><strong>Total</strong></td> <td colspan="3" class="right"><?php echo $cart->format_number($cart->total()); ?> </td> </tr> </table> <div style="float: right;"> <?php echo Html::submitButton($model->isNewRecord ? 'บันทึก' : 'Process', ['class' => $model->isNewRecord ? 'btn btn-success glyphicon glyphicon-saved' : 'btn btn-primary fa fa-check']); ?> </div> </div> </div> <?php ActiveForm::end();
echo Html::a('', ['inventory/cartdel', 'id' => $items['rowid']], ['class' => 'btn btn-danger glyphicon glyphicon-remove']); ?> </td> </tr> <?php $i++; ?> <?php } ?> <tr> <td colspan="3"> </td> <td class="right"><strong>Total</strong></td> <td colspan="3" class="right"><?php echo $cart->format_number($cart->total()); ?> </td> </tr> </table> <div style="float: right;"> <?php if ($cart->total() != '') { echo Html::a('ประมาณผล', ['inventory/process_in'], ['class' => 'btn btn-primary glyphicon glyphicon-transfer']); } ?> </div> </div>