@extends('layouts.app') @section('content')
@forelse($cart as $item) @php $product = \App\Product::findOrFail($item->attributes->product_id); @endphp
{{ $product->name }}
{{ __('Ár') }}: {{ \App\Utils::priceForHumans($product->price) }}
@empty

{{ __('A kosár üres') }}

{{ __('Kezdődhet a vásárlás!') }}
@endforelse
@php $sumPrice = Cart::getTotal(); $netPrice = \App\Utils::gross2net($sumPrice); @endphp
{{ __('Nettó ár') }}:
{{ \App\Utils::priceForHumans($netPrice)}}
{{ __('Áfa összege') }}:
{{ \App\Utils::priceForHumans($sumPrice - $netPrice)}}

{{ __('Végösszeg') }}:
{{ \App\Utils::priceForHumans($sumPrice)}}
@if ($sumPrice && ($buttons ?? true)) @endif
@endsection