@extends('layouts.master') @section('title', 'New purchase invoice | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', __('basic.new purchase invoice')) @section('css') @endsection @section('fixedcontent') @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('basic.invoices') }} | {{ __('basic.new purchase invoice') }}
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@csrf {{-- for work order --}} @if(request()->input('work_order_id')) @endif
{{ __('basic.details') }}
@error('debtor_id') {{ $message }} @enderror
@error('date') {{ $message }} @enderror
@error('due_date') {{ $message }} @enderror
@error('currency_id') {{ $message }} @enderror
@if(Auth::user()->branch_id == 0)
@error('branch_id') {{ $message }} @enderror
@endif
{{ __('basic.attached img') }}
@error('attached_pic_income') {{ $message }} @enderror
@error('note') {{ $message }} @enderror
@error('client_note') {{ $message }} @enderror
{{ __('basic.cost center') }}
@error('cost_center_status') {{ $message }} @enderror
{{ __('basic.accounts') }}
{{ __('basic.type') }}
{{ __('basic.item') }}
{{ __('basic.description') }}
{{ __('basic.quantity') }}
{{ __('basic.tax') }}
{{ __('basic.buy') }}
{{ __('basic.sell') }}
{{ __('basic.total') }}
{{ __('basic.new entry') }}
{{ __('basic.buy') }}

0

{{ __('basic.sell') }}

0

{{ __('basic.tax') }}

0

{{ __('basic.total') }}

0

@endsection @section('js') @endsection