@extends('layouts.app') @push('css') @endpush @section('content')

{{ $title }}

@if ($errors->any())
Whoops! Ada beberapa masalah dengan data yang anda masukkan.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT') {{-- Laravel Method Spoofing untuk method PUT --}}
Kode Penjualan : {{ $order->no_order }}



*
@foreach ($data_products as $produkItem)
{{ $produkItem->name }}

{{ $produkItem->name }}

@endforeach
@foreach ($order->orderItems as $index => $item) @endforeach
No Produk Harga Stock Qty Total Aksi
{{ $index + 1 }} {{ $item->product->name }}
Total Bayar: 0

Kembali
@endsection @push('script') {{-- simpan --}} @endpush