Last changes to make the import routine work.

This commit is contained in:
James Cole 2014-09-02 19:12:57 +02:00
parent 4d7f5238dd
commit 98612dd253
5 changed files with 16 additions and 7 deletions

View File

@ -291,6 +291,7 @@ class Import
break; break;
} }
$job->delete();
} }

View File

@ -379,6 +379,7 @@ class EloquentAccountRepository implements AccountRepositoryInterface
$transactionJournal = \App::make( $transactionJournal = \App::make(
'Firefly\Storage\TransactionJournal\TransactionJournalRepositoryInterface' 'Firefly\Storage\TransactionJournal\TransactionJournalRepositoryInterface'
); );
$transactionJournal->overruleUser($this->_user);
$transactionJournal->createSimpleJournal( $transactionJournal->createSimpleJournal(
$initial, $account, 'Initial Balance for ' . $account->name, $amount, $date $initial, $account, 'Initial Balance for ' . $account->name, $amount, $date

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
composer self-update #composer self-update
composer update composer update
php artisan clear-compiled --env=local php artisan clear-compiled --env=vagrant
php artisan ide-helper:generate --env=local php artisan ide-helper:generate --env=vagrant
php artisan ide-helper:models --env=local --write php artisan ide-helper:models --env=vagrant --write
php artisan optimize --env=local php artisan optimize --env=vagrant
php artisan dump-autoload --env=local php artisan dump-autoload --env=vagrant

View File

@ -7,7 +7,9 @@
convertNoticesToExceptions="true" convertNoticesToExceptions="true"
convertWarningsToExceptions="true" convertWarningsToExceptions="true"
processIsolation="false" processIsolation="false"
stopOnFailure="false" verbose="true"
stopOnFailure="true"
strict="false"
syntaxCheck="false" syntaxCheck="false"
> >

5
vagrant-reload.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
php artisan migrate:refresh --seed --env=vagrant
rm -f ./app/storage/logs/laravel.log;
rm -f ./app/storage/*.json
sudo service nginx restart