@extends('layouts.app') @section('styles') @endsection @section('content')
@csrf

{{ !empty($coupon->id) ? 'แก้ไขคูปองส่วนลด' : 'เพิ่มคูปองส่วนลด' }}

{{-- Start Tap --}}
  • ภาษาไทย
  • ภาษาอังกฤษ
{{-- Tap 1 --}}
{{-- Start Input --}}
{{-- End Input --}}
{{-- End Tap 1 --}} {{-- Tap 2 --}}
{{-- Start Input --}}
{{-- End Input --}}
{{-- End Tap 2 --}}
*หมายเหตุ: หากต้องการให้ปรากฏแบบไม่มีวันหมดอายุโปรดเว้นว่างไว้

@if (empty($coupon->id))
*หมายเหตุ: คูปอง 1 ใบ สามารถใช้ได้ 1 ครั้ง
*ข้อห้าม: การตั้งรหัสส่วนลดต้องไม่มีช่องวางและตัวอักษรพิเศษ
*หมายเหตุ: คูปอง 1 ใบ สามารถใช้ได้ตามจำนวนครั้งที่กำหนด

@endif

*หมายเหตุ: คูปอง 1 ใบ สามารถใช้ได้ตามจำนวนครั้งที่กำหนด

status) ? ($coupon->status == 1 ? 'checked' : '') : 'checked' }}>
status) ? ($coupon->status == 2 ? 'checked' : '') : '' }}>
{{-- End Tap --}}
@endsection('content') @section('scripts') @endsection