@extends('layouts.app') @php($editing = $expense->exists) @section('title', $editing ? 'Edit expense' : 'New expense') @section('content')
@csrf @if ($editing) @method('PUT') @endif @include('partials.error-summary')
@foreach ($categories as $c)@endforeach @foreach (\App\Models\Payment::METHODS as $key => $label)@endforeach @include('partials.assign-to', ['value' => $expense->assigned_to])
Buying from a vendor (yarn, weaving, dyeing)? Record a vendor bill instead, so that vendor's balance stays correct.
Cancel Unsaved changes @unless ($editing)@endunless
@endsection