@extends('layouts.customer') @section('content')

Profile

@if ($errors->any())
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Edit Profile
@php @endphp
@csrf @method('PUT')
@php if(empty($location_user->profile_image)){ $profileImage = secure_url('default-image.png');}else{ $profileImage = $location_user->profile_image; } @endphp
×

Change Password
@if ($message = Session::get('password_success'))

{{ $message }}

@endif @if ($message = Session::get('password_error'))

{{ $message }}

@endif
@csrf @method('PUT')

Change Passcode
@if ($message = Session::get('passcode_success'))

{{ $message }}

@endif @if ($message = Session::get('passcode_error'))

{{ $message }}

@endif
@csrf @method('PUT')
@php $restaurant = Auth::user()->restaurants()->first(); $theme = null; if( $restaurant ) { $theme = App\Models\ThemeSettings::where('restaurant_id',$restaurant->id)->first(); } @endphp @if( auth()->user()->hasRole('Admin') )

Business Details
@if ($message = Session::get('restaurant_success'))

{{ $message }}

@endif @if ($message = Session::get('restaurant_error'))

{{ $message }}

@endif
@csrf @method('PUT')
@if( isset($theme) && !empty($theme->logo)) @else @endif
@endif @endsection