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

Staff Settings

@if ($message = Session::get('success'))

{{ $message }}

@endif
@if($settings) @foreach($settings as $index => $setting)
setting_prop, ['shift_break_min','shift_approval'])) method="POST" @endif autocomplete="off" autofill="off"> @csrf @method('PUT') @php $not_in = ['layout', 'orderScreen', 'pageWidthLength', 'pageLeftMarginLength', 'orderTypeDeliveryColor', 'orderTypePickupColor', 'estimateTimePerc', 'estimateTimeColor']; $fields = json_decode($setting->setting_value, true); @endphp @if($fields && is_array($fields)) @foreach($fields as $key => $value) @if(!in_array($key, $not_in))
@else
{{ $value }}
@endif @endforeach @else @if($setting->setting_prop == 'shift_approval')
@endif @if($setting->setting_prop == 'shift_break_min')
@endif @endif
@endforeach @endif
@endsection @section('script') @endsection