@extends('layouts.portal') @section('title', __($catalog['title'])) @push('styles') @include('accounting.journal._styles') @endpush @section('content')
@include('partials.portal-header')

{{ __($catalog['title']) }}

{{ __($catalog['intro']) }}

{{ __('Quick setup from accounts') }}
@if(session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf

{{ __($catalog['new']) }}

@include('invoicing.concepts._fields', ['concept' => null])
@forelse($concepts as $concept) @empty @endforelse
{{ __('Group') }} {{ __('Concept') }} {{ __('Help text') }} {{ __('Account') }} {{ __('Order') }} {{ __('Lines using it') }} {{ __('Status') }}
{{ $concept->group_name ?? '—' }} {{ $concept->name }} {{ $concept->help_text ?? '' }} {{ $concept->account ? $concept->account->code.' — '.$concept->account->name : '—' }} {{ $concept->sort_order }} {{ $concept->lines_count }} {{ $concept->is_active ? __('Active') : __('Inactive') }} {{ __('Edit') }} @if($concept->lines_count === 0)
@csrf @method('DELETE')
@endif
{{ __($catalog['empty']) }}
@endsection