@extends('layouts.admin') @section('title', 'Edit Add-ons') @section('content-header', 'Edit Add-ons') @section('content')
@csrf @method('PUT') @if ($errors->any()) @endif
Add-ons Information
@error('branch') {{ $message }} @enderror
@error('name') {{ $message }} @enderror
@error('category') {{ $message }} @enderror
@error('type') {{ $message }} @enderror
@error('required') {{ $message }} @enderror

Add-on Order Type Selection
  • Mandatory Selection
    DINE-IN   TAKE AWAY   DELIVERY

Add-ons (Option & Price)

@foreach ($option_names as $key => $value) @endforeach
Option Price Max Quantity Action
{{-- @if($addon->option_type === 1)--}} {{-- @elseif($addon->option_type === 0)--}}
{{-- @endif--}}
option_type === 1) readonly @endif> @if($key === 0) @else @endif
@endsection @section('js') @endsection