@extends('admin.layout.master') @section('title', 'المدن') @section('content')
المدن
تعديل البيانات
@csrf @method('PATCH')
الكود
@if ($errors->has('code'))
{{ $errors->first('code') }}
@endif
نوع الخصم
discount_type == 'discount' ? 'selected' : ''}} value="discount"> نسبة
discount_type == 'amount' ? 'selected' : ''}} value="amount"> مبلغ
@if ($errors->has('discount_type'))
{{ $errors->first('discount_type') }}
@endif
قيمة الخصم
@if ($errors->has('discount_amount'))
{{ $errors->first('discount_amount') }}
@endif
أقصي نسبة خصم
@if ($errors->has('max_discount'))
{{ $errors->first('max_discount') }}
@endif
عدد مرات الإستخدام
@if ($errors->has('use_count'))
{{ $errors->first('use_count') }}
@endif
تاريخ البداية
@if ($errors->has('start_date'))
{{ $errors->first('start_date') }}
@endif
تاريخ النهاية
@if ($errors->has('end_date'))
{{ $errors->first('end_date') }}
@endif
تعديل
@stop