@extends('admin.layouts.master') @section('main-content') {{ __('push_notification.push_notification') }} {{ Breadcrumbs::render('push-notification/add') }} @csrf @if(auth()->user()->myrole == 1) {{ __('levels.restaurant') }} {{ __('Select Restaurant') }} @if(!blank($restaturants)) @foreach($restaturants as $restaturant) id) ? 'selected' : '' }}>{{ $restaturant->name }} @endforeach @endif @error('restaturant_id') {{ $message }} @enderror @else @endif {{ __('levels.title') }} * @error('title') {{ $message }} @enderror {{ __('levels.image') }} {{ __('levels.choose_file') }} @if ($errors->has('image')) {{ $errors->first('image') }} @endif {{ __('Select Customer') }} {{ __('All Customer') }} @if(!blank($customers)) @foreach($customers as $customer) id) ? 'selected' : '' }}>{{ $customer->name }} @endforeach @endif @error('customer_id') {{ $message }} @enderror {{ __('levels.description') }}* {{ old('description') }} @error('description') {{ $message }} @enderror @endsection @section('css') @endsection @section('scripts') @endsection