@if(userCan('branch-create')==0) @php header("Location: " . URL::to('errors.403'), true, 302); exit(); @endphp @endphp @endif @extends('layouts.default') @php $pageTitle = 'New Branch '; @endphp @section('title',$pageTitle) @section('PageHead') @if ( session('massage') ) × Success! {{session('massage')}} @endif @if ( session('error') ) × Not Success! {{session('error')}} @endif @if (Session::has('errors')) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif {{$pageTitle}} Dashboard @if(userCan('setting-list')>0) Settings @endif @if(userCan('branch-list')>0) Branch List @endif @if(userCan('branch-create')>0) Add New @endif @stop @section('content') {{ csrf_field() }} Branch Name * Company Name Select One {!!company_list()!!} Phone Email Branch Contact Details Branch Address {{old('branch_address')}} Select Country {!!countrie_list()!!} Save @stop