Mails
This commit is contained in:
parent
68b9d1ff88
commit
b9c26d06d0
75 changed files with 2143 additions and 818 deletions
|
|
@ -49,6 +49,7 @@ class CreateBookingTable extends Migration
|
|||
$table->decimal('price', 10, 2)->nullable();
|
||||
$table->decimal('price_canceled', 10, 2)->nullable();
|
||||
$table->decimal('price_total', 10, 2)->nullable();
|
||||
$table->decimal('price_balance', 10, 2)->nullable();
|
||||
$table->decimal('deposit_total', 10, 2)->nullable();
|
||||
$table->decimal('final_payment', 10, 2)->nullable();
|
||||
$table->date('final_payment_date')->nullable();
|
||||
|
|
|
|||
|
|
@ -23,11 +23,10 @@ class CreateTravelCompanyTable extends Migration
|
|||
$table->decimal('percentage', 6, 2)->nullable();
|
||||
$table->tinyInteger('is_allowed_edit_commission')->nullable()->default(0);
|
||||
$table->tinyInteger('is_inhouse')->nullable()->default(0);
|
||||
$table->text('contact_emails')->nullable();
|
||||
$table->boolean('active')->default(true);
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ class CreateServiceProviderTable extends Migration
|
|||
$table->string('name', 255);
|
||||
$table->unsignedTinyInteger('dollar')->nullable()->default(0);
|
||||
$table->string('type', 255)->nullable();
|
||||
$table->text('contact_emails')->nullable();
|
||||
$table->boolean('active')->default(true);
|
||||
|
||||
$table->index('type', 'service_provider_type_idx');
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateInsurancesTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('insurances', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->string('name', 255);
|
||||
$table->text('contact_emails')->nullable();
|
||||
$table->boolean('active')->default(true);
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('insurances');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateEmailTemplatesTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('email_templates', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->string('subject', 255);
|
||||
$table->text('message')->nullable();
|
||||
$table->boolean('active')->default(true);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('email_templates');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue