@php($coupon = $coupon ?? null) @php($isEditing = $coupon !== null)
@csrf @if(($method ?? 'POST') !== 'POST') @method($method) @endif @if($errors->any())
{{ $errors->first() }}
@endif @foreach([['code','Kode promo'],['name','Nama campaign']] as [$name,$label]) @endforeach @if($funding === 'platform') @if($isEditing && $coupon->bannerUrl()) Banner {{ $coupon->name }} @endif
Ukuran banner yang direkomendasikan Desktop: 1600 × 700 px (rasio 16:7) · Mobile/Android: 1200 × 550 px (rasio 24:11). Gunakan safe area 8% di setiap sisi agar teks dan produk tetap nyaman dilihat.
@foreach($tenants ?? [] as $tenant)@endforeach
@endif
@if($isEditing) @endif