@extends('admin::layouts.app') @section('content') {{ __('admin.offer') }} {{ __('admin.add_offer') }} {{ __('admin.submit') }} {{ __('static.cancel') }} {{ __('admin.enter_the_details_below_for_create_offers') }} {{ __('admin.select_workshop') }} * {{__('static.all')}} @foreach ($branches as $key => $branch) {{$locale == App\Helpers\ConstantHelper::ARABIC ? $branch->name_ar : $branch->name_en }} @endforeach @php $isSuperAdmin = ''; $isSuperAdmin = auth() ->user() ->hasRole([App\Helpers\ConstantHelper::SUPER_ADMIN]); @endphp {{ __('admin.offer_type') }} * {{ __('label.Select') }} @foreach ($offerTypes as $offer) {{__('static.'.$offer) }} @endforeach {{ __('admin.promotion_name_coupon_code') }} * {{ __('admin.promotion_name_coupon_code') }} * {{ __('admin.generate_coupon_code') }} {{ __('admin.discount_value') }} ( {{__('static.in') }}) * {{ __('admin.usage_type') }} * {{ __('label.Select') }} @foreach ($usageTypes as $usageType) @if ($usageType == App\Helpers\ConstantHelper::UNLIMITED) {{ __('static.'.$usageType) }} @else {{ ucfirst($usageType) }} / {{__('static.person')}} @endif @endforeach {{ __('admin.start_date') }} * {{ __('admin.end_date') }} * {{ __('admin.select_services') }} * {{ __('admin.status_update') }} {{ __('admin.active') }} {{ __('admin.inactive') }} @endsection @section('script') @endsection
{{ __('admin.add_offer') }}