Fix for #776 Deleting expense vendor results in error

This commit is contained in:
Hillel Coren 2016-03-19 23:30:23 +02:00
parent c41b7de514
commit 09414ca3f5
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@ use DB;
use Carbon;
use App\Events\VendorWasCreated;
use App\Events\VendorWasUpdated;
use App\Events\VendorWasDeleted;
use Laracasts\Presenter\PresentableTrait;
use Illuminate\Database\Eloquent\SoftDeletes;

View File

@ -1075,6 +1075,9 @@ $LANG = array(
'gateway_help_20' => ':link to sign up for Sage Pay.',
'gateway_help_21' => ':link to sign up for Sage Pay.',
'partial_due' => 'Partial Due',
'restore_vendor' => 'Restore Vendor',
'restored_vendor' => 'Successfully restored vendor',
'restored_expense' => 'Successfully restored expense',
);