Merge branch 'release/3.5.6.1'

This commit is contained in:
James Cole 2015-12-28 16:53:45 +01:00
commit 919a35aed3
4 changed files with 7 additions and 33 deletions

View File

@ -1,25 +0,0 @@
<?php namespace FireflyIII\Events;
use Illuminate\Queue\SerializesModels;
/**
* Class JournalDeleted
*
* @codeCoverageIgnore
* @package FireflyIII\Events
*/
class JournalDeleted extends Event
{
use SerializesModels;
/**
* Create a new event instance.
*
*/
public function __construct()
{
//
}
}

View File

@ -172,12 +172,12 @@ class JournalRepository implements JournalRepositoryInterface
// store actual journal. // store actual journal.
$journal = new TransactionJournal( $journal = new TransactionJournal(
[ [
'user_id' => $data['user'], 'user_id' => $data['user'],
'transaction_type_id' => $transactionType->id, 'transaction_type_id' => $transactionType->id,
'amount_currency_id_amount' => $data['amount_currency_id_amount'], 'transaction_currency_id' => $data['amount_currency_id_amount'],
'description' => $data['description'], 'description' => $data['description'],
'completed' => 0, 'completed' => 0,
'date' => $data['date'], 'date' => $data['date'],
] ]
); );
$journal->save(); $journal->save();

View File

@ -22,7 +22,6 @@
"require": { "require": {
"laravel/framework": "5.1.*", "laravel/framework": "5.1.*",
"davejamesmiller/laravel-breadcrumbs": "~3.0", "davejamesmiller/laravel-breadcrumbs": "~3.0",
"grumpydictator/gchart": "~1",
"watson/validating": "~1.0", "watson/validating": "~1.0",
"doctrine/dbal": "~2.5", "doctrine/dbal": "~2.5",
"illuminate/html": "~5.0", "illuminate/html": "~5.0",

View File

@ -2,7 +2,7 @@
return [ return [
'chart' => 'chartjs', 'chart' => 'chartjs',
'version' => '3.5.6', 'version' => '3.5.6.1',
'index_periods' => ['1D', '1W', '1M', '3M', '6M', '1Y', 'custom'], 'index_periods' => ['1D', '1W', '1M', '3M', '6M', '1Y', 'custom'],
'budget_periods' => ['daily', 'weekly', 'monthly', 'quarterly', 'half-year', 'yearly'], 'budget_periods' => ['daily', 'weekly', 'monthly', 'quarterly', 'half-year', 'yearly'],
'csv_import_enabled' => true, 'csv_import_enabled' => true,