@extends('layouts.app') @push('css') @include('components.dataTable-style-links') @endpush @section('content')
{{ __('Create Permit For Invoice') }} #{{ $invoice->serial_number }}
@if ($type == 'sale')
{{ __('Customer Name :') }} {{ $invoice->customer->name }}
@endif

{{ __('Items') }}

@if ($type == 'purchase') @endif @foreach ($invoice->items as $item) @if ($type == 'purchase') @endif @endforeach
{{ __('Item Name') }}{{ __('Supplier') }}{{ __('Action') }}
{{ $item->item->name }} {{ $item->supplier->name }}
@endsection @section('scripts') @include('components.dataTable-script-links') @endsection