Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fixed #1403
James Cole551ff109c98e
diff --git a/app/Http/Controllers/BillController.php b/app/Http/Controllers/BillController.phpindex 8fcb18777f..bbb5a96234 100644--- a/app/Http/Controllers/BillController.php+++ b/app/Http/Controllers/BillController.php@@ -164,6 +164,7 @@ class BillController extends Controller$preFilled = ['notes' => $this->billRepository->getNoteText($bill),'transaction_currency_id' => $bill->transaction_currency_id,+ 'active' => $bill->active,];$request->session()->flash('preFilled', $preFilled);diff --git a/app/Models/Bill.php b/app/Models/Bill.phpindex e42126e39d..bf4c01ff12 100644--- a/app/Models/Bill.php+++ b/app/Models/Bill.php@@ -29,10 +29,14 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;use Illuminate\Database\Eloquent\Relations\HasMany;use Illuminate\Database\Eloquent\SoftDeletes;use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;-use FireflyIII\Models\Attachment;/*** Class Bill.+ *+ * @property bool $active+ * @property int $transaction_currency_id+ * @property string $amount_min+ * @property string $amount_max*/class Bill extends Model{