@extends('layouts.app') @section('content')

Checkout

@csrf @foreach($inputConfigs as $config)
@if($config->field_type === 'select') @else is_required ? 'required' : '' }} class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-[#0C951E] focus:border-[#0C951E] @error($config->field_name) border-red-300 @enderror"> @endif @if($config->help_text)

{{ $config->help_text }}

@endif @error($config->field_name)

{{ $message }}

@enderror
@endforeach

Untuk notifikasi status pesanan

Ringkasan Pesanan

{{ $brand->brand }}

{{ $product->name }}

Harga Rp {{ number_format($product->price, 0, ',', '.') }}
@if($product->discount_price && $product->discount_price < $product->price)
Diskon - Rp {{ number_format($product->price - $product->discount_price, 0, ',', '.') }}
@endif
Total Rp {{ number_format($product->discount_price ?? $product->price, 0, ',', '.') }}
@endsection