@php $subtotal = Cart::instance('pos_shopping')->subtotal(); $subtotal = str_replace(',','',$subtotal); $subtotal = str_replace('.00', '',$subtotal); $shipping = Session::get('pos_shipping'); $total_discount = Session::get('pos_discount')+Session::get('product_discount'); @endphp Sub Total {{$subtotal}} Shipping Fee {{$shipping}} Discount {{$total_discount}} Total {{($subtotal + $shipping)- $total_discount}}