@extends('layouts.app') @section('form-title') {{ __('Project invoice to types') }} @endsection @section('breadcrumb') @endsection @section('content')
{{-- Add section --}} @if(canViewUpdate('add project Invoice to types'))
{{ __('Add new "Project invoice to" option') }}
@csrf
{{ __('English') }}
{{ __('Dutch') }}
@if($errors->has('title_en'))

{{ $errors->first('title_en') }}

@endif
@if($errors->has('title_nl'))

{{ $errors->first('title_nl') }}

@endif
@endif {{-- Edit section --}}
@csrf @method('PUT')
{{ __('English') }}
{{ __('Dutch') }}
@foreach ($project_invoice_types as $project_invoice_type)
@if($errors->has('type_{{ $project_invoice_type->id }}'))

{{ $errors->first("'type_'$project_invoice_type->id") }}

@endif
@if($errors->has('type_{{ $project_invoice_type->id }}'))

{{ $errors->first("'type_'$project_invoice_type->id") }}

@endif
@if(canViewUpdate('delete project Invoice to types'))
@endif
@endforeach @if(canViewUpdate('edit project Invoice to types'))
@endif
{{-- Edit section ends --}}
@endsection @push('child-scripts') @endpush