@php $isEdit = !empty($budget); $canSave = $isEdit ? ($canEdit ?? false) : auth()->user()->hasPermission('budget', 'create'); $selectedScope = old('scope_type', $budget->type ?? \App\Models\Budget::TYPE_GENERAL); $periodMonths = $periodMonths ?? []; @endphp @extends('layouts.app') @section('title', $isEdit ? 'Edit Budget' : 'New Budget') @section('breadcrumb')
Enter monthly amounts per income/expense account for the selected budget period.