@extends('layouts.app') @php($editing = $expense->exists) @section('title', $editing ? 'Edit expense' : 'New expense') @section('content')