Invoice#{{ $data->id }}

{!! $sms !!}

@foreach($orderdetails as $value) @endforeach
PID Name Qty Price Total Price
{{ $value->product_id }} {{ $value->product->product_name }} {{ $value->quantity }} {{ $value->selling_price }} @if($value->unit_discount > 0){{ $value->selling_price + $value->unit_discount }}@endif {{ $value->total_selling_price }}
SUBTOTAL {{ $data->total_amount }}
SHIPPING {{ $data->shipping_amount }}
DISCOUNT {{ $data->discount }}
GRAND TOTAL {{ getCurrentCurrency()->code }} {{ ($data->total_amount + $data->shipping_amount) - $data->discount }}