mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fixed #1403
This commit is contained in:
parent
664451d0c6
commit
551ff109c9
@ -164,6 +164,7 @@ class BillController extends Controller
|
|||||||
$preFilled = [
|
$preFilled = [
|
||||||
'notes' => $this->billRepository->getNoteText($bill),
|
'notes' => $this->billRepository->getNoteText($bill),
|
||||||
'transaction_currency_id' => $bill->transaction_currency_id,
|
'transaction_currency_id' => $bill->transaction_currency_id,
|
||||||
|
'active' => $bill->active,
|
||||||
];
|
];
|
||||||
|
|
||||||
$request->session()->flash('preFilled', $preFilled);
|
$request->session()->flash('preFilled', $preFilled);
|
||||||
|
@ -29,10 +29,14 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|||||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||||
use FireflyIII\Models\Attachment;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Bill.
|
* Class Bill.
|
||||||
|
*
|
||||||
|
* @property bool $active
|
||||||
|
* @property int $transaction_currency_id
|
||||||
|
* @property string $amount_min
|
||||||
|
* @property string $amount_max
|
||||||
*/
|
*/
|
||||||
class Bill extends Model
|
class Bill extends Model
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user