@extends('layouts.app') @section('title', __('New Expense')) @section('content')
{{ __('New Expense') }}
@csrf
@if($errors->has('date')) {{ $errors->first('date') }} @endif
@if($errors->has('type')) {{ $errors->first('type') }} @endif
@if($errors->has('to')) {{ $errors->first('to') }} @endif
@if($errors->has('payment_type')) {{ $errors->first('payment_type') }} @endif
@if($errors->has('items.*')) {{ $errors->first('items.*') }} @endif
@if($errors->has('quantity')) {{ $errors->first('quantity') }} @endif
@if($errors->has('amount')) {{ $errors->first('amount') }} @endif
@endsection @section('scripts') @endsection