@foreach($detail['transaction_products'] as $product)
{{$product['product_name']}}
@if(!empty($product['need_recipe_status']))(Need recipe doctor)
@endif
@if(!empty($product['variants']))
{{($product['variants']??"")}}
@endif
{{($product['note']??"")}}
x {{$product['product_qty']}}
{{$product['product_base_price']}}
{{$product['product_total_price']}}
@if(!empty($product['discount_all']))
- {{number_format($product['discount_all'],0,",",".")}}
@endif
@endforeach
@foreach($detail['payment_detail'] as $pd)
@if(strpos($pd['text'],"Discount") === false && strpos(strtolower($pd['text']),"point") === false)
{{$pd['text']}}
{{$pd['value']}}
@else
{{$pd['text']}}
{{$pd['value']}}
@endif
@endforeach
GRAND TOTAL
{{$detail['transaction_grandtotal']}}
PAYMENT USE
@if(!empty($detail['payment'])) {{$detail['payment']}} @else - @endif