Custom Price / Land / User Order Homeparty

This commit is contained in:
Kevin Adametz 2021-08-20 18:22:21 +02:00
parent d46824a4ac
commit 51d81d8ec6
55 changed files with 1951 additions and 681 deletions

View file

@ -34,6 +34,7 @@ class CreateProductsTable extends Migration
$table->unsignedInteger('points')->nullable()->default(0);
$table->unsignedInteger('weight')->nullable()->default(0);
$table->boolean('no_commission')->default(false);
$table->string('contents')->nullable();
$table->unsignedInteger('contents_total')->nullable();
@ -59,8 +60,10 @@ class CreateProductsTable extends Migration
$table->unsignedInteger('amount')->nullable(); //for shop
$table->tinyInteger('show_at')->unsigned()->nullable()->default(0);
$table->boolean('shipping_addon')->default(false);
$table->string('show_on')->nullable();
$table->boolean('shipping_addon')->default(false);
$table->string('identifier', 20)->nullable();
$table->string('action')->nullable();

View file

@ -42,6 +42,10 @@ class CreateUserAccountsTable extends Migration
$table->string('tax_number', 20)->nullable();
$table->string('tax_identification_number', 20)->nullable();
$table->unsignedTinyInteger('taxable_sales')->nullable();
$table->boolean('reverse_charge')->default(true);
$table->char('reverse_charge_code', 2)->nullable();
$table->timestamp('reverse_charge_valid')->nullable();
$table->boolean('same_as_billing')->default(true);

View file

@ -18,6 +18,7 @@ class CreatePaymentMethodsTable extends Migration
$table->string('name')->index();
$table->string('short', 10);
$table->unsignedTinyInteger('show_at')->nullable()->default(0);
$table->string('show_on')->nullable();
$table->unsignedTinyInteger('pos')->nullable()->default(0);
$table->boolean('active')->default(false);
$table->boolean('default')->default(false);

View file

@ -23,16 +23,18 @@ class CreateHomepartiesTable extends Migration
$table->unsignedTinyInteger('pos')->default(0);
$table->unsignedTinyInteger('completed')->default(0);
$table->unsignedTinyInteger('status')->default(0);
$table->unsignedTinyInteger('step')->default(0);
$table->boolean('order_to')->default(true);
$table->boolean('active')->default(false);
$table->boolean('default')->default(false);
$table->string('token')->nullable();
$table->boolean('token_active')->default(true);
$table->text('settings')->nullable();
$table->text('order')->nullable();
$table->string('card_info')->nullable();
$table->timestamps();
});