@extends('layouts.portal') @php($isEdit = $item->exists) @section('title', $isEdit ? __('Edit item') : __('New item')) @push('styles') @endpush @section('content')
@include('partials.portal-header')

{{ $isEdit ? __('Edit item') : __('New item') }}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @if($isEdit) @method('PUT') @endif
{{ __('Item (title)') }}
@foreach($brands as $brand) @endforeach
{{ __('Classification and tracking') }}
requires_expiry))>
{{ __('Units and pricing') }}
{{ __('At the counter the price converts automatically when the cashier sells in the base unit.') }}
{{ __('Stock levels') }}
@foreach(['min_stock' => 'Minimum stock', 'reorder_point' => 'Reorder point', 'max_stock' => 'Maximum stock'] as $field => $label)
@endforeach
{{ __('Default accounting accounts') }}
{{ __('Lots, expiry dates and serial numbers are recorded per receipt (instance), not on the item.') }}
is_active))>
@endsection