mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
970c9bb87d
* Fixes for converting a quote to invoice * Fixes for deleting an invoice * Payment Terms CRUD * Payment Terms * Push PaymentTerms back into the DB * Payment Terms * Payment Terms * Create api docs for payment terms
38 lines
917 B
PHP
38 lines
917 B
PHP
<?php
|
|
|
|
use App\Models\Timezone;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
$this->command->info('Running DatabaseSeeder');
|
|
|
|
if (Timezone::count()) {
|
|
$this->command->info('Skipping: already run');
|
|
return;
|
|
}
|
|
|
|
Eloquent::unguard();
|
|
|
|
$this->call('ConstantsSeeder');
|
|
$this->call('PaymentLibrariesSeeder');
|
|
$this->call('BanksSeeder');
|
|
$this->call('CurrenciesSeeder');
|
|
$this->call('LanguageSeeder');
|
|
$this->call('CountriesSeeder');
|
|
$this->call('IndustrySeeder');
|
|
$this->call('PaymentTermsSeeder');
|
|
$this->call('PaymentTypesSeeder');
|
|
$this->call('GatewayTypesSeeder');
|
|
$this->call('DateFormatsSeeder');
|
|
$this->call('DesignSeeder');
|
|
}
|
|
}
|