@extends('admin.layout') @section('content')

{{ trans('Add Product') }}

@php $getUserRoleData = userRoleData(); $Services = explode(",",$getUserRoleData->Services); //$Services = array("Add", "View", "Edit", "Delete"); @endphp
@if( count($errors) > 0) @foreach($errors->all() as $error) @endforeach @endif @if(in_array("Add",$Services )) {!! Form::open(array('url' =>'admin/add-product-data', 'method'=>'post', 'class' => 'form-horizontal', 'id'=>'addnewServices', 'enctype'=>'multipart/form-data')) !!}
{!! Form::text('name', '', array('class'=>'form-control', 'id'=>'name', 'required'=>'required')) !!}
{!! Form::text('phone_number', '', array('class'=>'form-control', 'id'=>'phone_number', 'required'=>'required')) !!}
{!! Form::text('website_url', '', array('class'=>'form-control', 'id'=>'website_url', 'required'=>'required', 'placeholder'=>'eg: example.com')) !!}
{!! Form::close() !!} @else

Please contact with SuperAdmin

@endif
@endsection