Mails, Strono, filter

This commit is contained in:
Kevin Adametz 2020-03-26 09:48:19 +01:00
parent f53f17f9c1
commit 62e84637b6
99 changed files with 2409 additions and 474 deletions

View file

@ -22,7 +22,7 @@ class CreateBookingTable extends Migration
$table->date('booking_date')->nullable();
$table->bigInteger('customer_id');
$table->bigInteger('lead_id')->nullable();
$table->tinyInteger('new_drafts')->nullable();
$table->tinyInteger('new_drafts')->nullable()->default(0);
$table->integer('sf_guard_user_id');
$table->bigInteger('branch_id');
$table->decimal('service_fee', 10, 2)->nullable()->default(0.00);
@ -30,13 +30,11 @@ class CreateBookingTable extends Migration
$table->bigInteger('travel_category_id')->nullable();
$table->bigInteger('pax')->nullable();
$table->bigInteger('coupon_id')->nullable();
$table->dateTime('created_at');
$table->dateTime('updated_at');
$table->string('title', 255)->nullable();
$table->date('start_date')->nullable();
$table->date('end_date')->nullable();
$table->bigInteger('website_id')->nullable();
$table->string('travel_number', 30)->nullable();
$table->string('travel_number', 80)->nullable();
$table->string('participant_name', 255)->nullable();
$table->string('participant_firstname', 255)->nullable();
$table->date('participant_birthdate')->nullable();
@ -45,12 +43,22 @@ class CreateBookingTable extends Migration
$table->string('merlin_knr', 255)->nullable();
$table->string('merlin_order_number', 255)->nullable();
$table->bigInteger('travel_company_id')->nullable();
$table->tinyInteger('travel_documents')->nullable()->default(0);
$table->decimal('canceled', 5, 2)->nullable()->default(0.00);
$table->decimal('price', 10, 2)->nullable();
$table->decimal('price_canceled', 10, 2)->nullable();
$table->decimal('price_total', 10, 2)->nullable();
$table->decimal('deposit_total', 10, 2)->nullable();
$table->decimal('final_payment', 10, 2)->nullable();
$table->date('final_payment_date')->nullable();
$table->bigInteger('travelagenda_id')->nullable();
$table->tinyInteger('paying_out')->nullable()->default(0);
$table->tinyInteger('paying_out_status')->nullable()->default(0);
$table->tinyInteger('refund')->nullable()->default(0);
$table->date('refund_date')->nullable();
$table->tinyInteger('xx_tkt')->nullable()->default(0);
$table->dateTime('updated_at');
$table->dateTime('created_at');
$table->index('lead_id', 'lead_id_idx');
$table->index('sf_guard_user_id', 'sf_guard_user_id_idx');
@ -82,9 +90,6 @@ class CreateBookingTable extends Migration
')->onUpdate('RESTRICT');
});
}
/**