@extends('backend.layouts.layout-2') @if($edit) @section('page-title', trans('app.helpRequests')) @section('page-heading', trans('app.helpRequests')) @else @section('page-title', trans('app.add_helpRequests')) @section('page-heading', trans('app.add_helpRequests')) @endif @section('styles') @parent @endsection @section('scripts') @parent @endsection @section('content') @if($edit) {!! Form::open(['route' => ['helpRequests.update',$helpRequest->id], 'method' => 'PUT','files' => true, 'id' => 'page-form']) !!} @else {!! Form::open(['route' => 'helpRequests.store', 'files' => true, 'id' => 'page-form']) !!} @endif
| اسم المستخدم | {{ $helpRequest->full_name }} | |
| رقم الجوال | {{ $helpRequest->phoneNumber }} | |
| البريد الالكتروني | {{ $helpRequest->email }} | |
| العنوان | {{ $helpRequest->address }} | |
| نوع المساعدة | {{ trans('app.' . $helpRequest->type) }} | |
| المبلغ المطلوب | {{ $helpRequest->value_request }} | |
| المنتج المطلوب | @if($helpRequest->help_request_items()->count())
@foreach($helpRequest->help_request_items()->get() as $item)
{{ $item->item()->first()->name }} | @endif |
| @lang('app.status') | {!! Form::select('status',$status ,$edit ? $helpRequest->status : old('name'),['class' => 'form-control']) !!} |