@extends('admin.layout_admin.main') @section('content')

Chi tiết {{ $order -> name }}

Tên khách hàng: {{ $order -> user -> name }}

Số điện thoại: {{ $order -> user -> phone }}

Email: {{ $order -> user -> email }}

Địa chỉ: {{ $order -> user -> address }}

@foreach ($order -> invoiceDetails as $key => $detail) @endforeach
STT Tên sản phẩm Ảnh Giá tiền Số lượng Thành tiền
{{ $key + 1 }} {{ $detail -> product -> name }} {{ $detail -> product -> name }} {{ number_format($detail -> product -> price) }}đ {{ $detail -> quantity }} {{ number_format($detail -> total_price) }}đ
Quay lại

Tạm tính: {{ number_format($total_price) }}đ

Phí vận chuyển:10.000đ

TỔNG TIỀN: {{ number_format($total_price + 10000) }}đ

@endsection