This commit is contained in:
James Cole
2018-08-18 20:13:26 +02:00
parent ba09901228
commit 21bff39e31
2 changed files with 11 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ class BillUpdateService
$bill->amount_min = $data['amount_min'];
$bill->amount_max = $data['amount_max'];
$bill->date = $data['date'];
$bill->transaction_currency_id = $data['transaction_currency_id'];
$bill->transaction_currency_id = $data['currency_id'];
$bill->repeat_freq = $data['repeat_freq'];
$bill->skip = $data['skip'];
$bill->automatch = true;
@@ -55,7 +55,7 @@ class BillUpdateService
$bill->save();
// update note:
if (isset($data['notes']) && null !== $data['notes']) {
if (isset($data['notes'])) {
$this->updateNote($bill, (string)$data['notes']);
}