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

Tip settings

@csrf @method('PUT') @php $field = json_decode($settings->setting_value); // echo '
'; print_r( $field ); echo '
'; @endphp
@if ($message = Session::get('success'))

{{ $message }}

@endif

What type of tipping method you want?

pool_type == 0 ) checked @endif required />
pool_type == 1 ) checked @endif required />

Percentage of tips distributed to employees.

percentage ) value="{{ $field->percentage ?? '' }}" @endif placeholder="Enter the percentage" required />
pool_type == 0 ) style="display:block;" @else style="display:none;" @endif>
distributed_by) && $field->distributed_by == 0 ) checked @endif @if( $field->pool_type == 0 ) required @endif>
distributed_by) && $field->distributed_by == 1 ) checked @endif @if( $field->pool_type == 0 ) required @endif>
@endsection @section('script') @endsection