@extends('layout.app') @section('content') Edit Expense See List {{-- 'model'=> $model --}} @method('put') @csrf Name* Expense Head* Select One @foreach ($expenseHead as $item) {{ $item->name }} @endforeach Employee Select One @foreach (getEmployesInExpense() as $item) id == $model->employee_id ? 'selected' : '' }}>{{ $item->name }} @endforeach Invoice Number* Date* Amount* Upload Documents @if ($model->attach_document != null) {{-- --}} @else @endif Description* {{ $model->description }} Update @endsection @push('script-bottom') @endpush