@extends('frontend.layouts.main') @section('title', __('home.giohang')) @section('css') @endsection @section('content')
@csrf
@foreach ($data as $cartItem) @endforeach
{{ __('home.hinh_anh') }} {{ __('home.sp') }} Kích thước {{ __('home.don_gia') }} {{ __('home.so_luong') }} {{ __('home.thanh_tien') }}
{{ $cartItem['name'] }} {{ $cartItem['name'] }}
{{ __('home.xoa') }} @if(isset($cartItem['color'])) ({{ $cartItem['color'] }}) @endif
{{ $cartItem['size'] }} {{ number_format($cartItem['price']) }}đ {{ $cartItem['quantity'] }} {{ number_format($cartItem['price'] * $cartItem['quantity']) }}đ
{{ __('home.tong_tien') }} {{ number_format($totalPrice) }}đ
{{ __('home.thong_tin_thanh_toan') }}
{{ __('home.ten_khach_hang') }} *
{{ __('home.email') }}*
{{ __('home.sdt') }} *
{{ __('home.dia_chi') }}*
{{ __('home.ghi_chu') }}
({{ __('home.ko_bat_buoc') }})
{{--

Phương Thức Thanh Toán

--}} {{-- @dd($thanhtoan) --}}

Phương Thức Thanh Toán

@if (isset($thanhtoan) && $thanhtoan) @foreach ($thanhtoan->childs()->orderby('order')->orderByDesc('created_at')->get() as $item) @if ($loop->first)
{{ $item->name }}
@else
{{ $item->name }}
@endif @endforeach @endif
@endsection @section('js') @endsection