@extends('admin.layouts.contentLayoutMaster') @section('title', '廠商等級') @section('vendor-styles') @endsection @section('page-styles') @endsection @section('content')
@csrf @method('PATCH')

@if ($errors->has('firm_category_id')) @include('admin.panels.input-invalid-messages', [ 'messages' => $errors->get('firm_category_id') ]) @endif
@if ($errors->has('firm_id')) @include('admin.panels.input-invalid-messages', [ 'messages' => $errors->get('firm_id') ]) @endif
@if ($errors->has('name')) @include('admin.panels.input-invalid-messages', [ 'messages' => $errors->get('name') ]) @endif
@if ($firm_rank->is_default) $ {{ $firm_rank->minimum_quantity }} @else @if ($errors->has('minimum_quantity')) @include('admin.panels.input-invalid-messages', [ 'messages' => $errors->get('minimum_quantity') ]) @endif @endif
@if ($firm_rank->is_default) $ {{ $firm_rank->minimum_amount }} @else @if ($errors->has('minimum_amount')) @include('admin.panels.input-invalid-messages', [ 'messages' => $errors->get('minimum_amount') ]) @endif @endif
status) ? 'checked' : '' }}>
@endsection @section('vendor-scripts') @endsection @section('page-scripts') @endsection