Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
<template x-if="groupProperties.transactionType != 'deposit' && groupProperties.transactionType != 'transfer'">
<div class="row mb-2">
<label :for="'budget_id_' + index"
class="col-sm-1 col-form-label d-none d-sm-block">
<em title="{{ __('firefly.budget') }}" class="bi bi-pie-chart"></em>
</label>
<div class="col-sm-10">
<template x-if="formStates.loadingBudgets">
<span class="form-control-plaintext">
<div class="spinner-border spinner-border-sm text-primary" role="status">
<span class="visually-hidden">{{ __('firefly.thinking') }}</span>
</div>
</span>
</template>
<template x-if="!formStates.loadingBudgets">
<select class="form-select"
:id="'budget_id_' + index"
x-model="transaction.budget_id"
@keyup.enter="save()"
>
<template x-for="budget in formData.budgets">
<option :label="budget.name" :value="budget.id" :selected="budget.id == transaction.budget_id"
x-text="budget.name"></option>
</template>
</select>
</template>
</div>
</div>
</template>