Import expense and ledger entries #443 (#588)

* Fix rank importing with PIREP pay #443

* Import ledger information #443

* Uncomment out testing importers

* Import expense log and settings #443

* Formatting
This commit is contained in:
Nabeel S
2020-02-25 14:45:23 -05:00
committed by GitHub
parent 07a75de0bf
commit 14aacdfb75
11 changed files with 251 additions and 6 deletions

View File

@@ -14,6 +14,7 @@ use App\Models\FlightField;
use App\Models\FlightFieldValue;
use App\Models\Journal;
use App\Models\JournalTransaction;
use App\Models\Ledger;
use App\Models\News;
use App\Models\Pirep;
use App\Models\Role;
@@ -62,6 +63,7 @@ class ClearDatabase extends BaseImporter
Expense::truncate();
JournalTransaction::truncate();
Journal::truncate();
Ledger::truncate();
// Clear flights
DB::table('flight_fare')->truncate();