Berater Bestellung / online
This commit is contained in:
parent
16fe2fa363
commit
ecc71c616f
26 changed files with 828 additions and 240 deletions
|
|
@ -34,6 +34,7 @@ class CreateShoppingUsersTable extends Migration
|
|||
$table->string('billing_phone')->nullable();
|
||||
$table->string('billing_email')->nullable();
|
||||
$table->boolean('faker_mail')->default(false);
|
||||
$table->string('shipping_email')->nullable();
|
||||
|
||||
$table->unsignedSmallInteger('orders')->nullable()->default(1);
|
||||
|
||||
|
|
|
|||
|
|
@ -24,21 +24,32 @@ class CreateShoppingOrdersTable extends Migration
|
|||
|
||||
$table->unsignedInteger('member_id')->nullable();
|
||||
|
||||
$table->unsignedTinyInteger('payment_for');
|
||||
$table->unsignedTinyInteger('payment_for')->nullable();
|
||||
|
||||
$table->decimal('total', 13, 2)->nullable();
|
||||
$table->decimal('shipping', 8, 2)->nullable();
|
||||
$table->decimal('subtotal', 13, 2)->nullable();
|
||||
$table->decimal('tax_rate', 5, 2)->nullable();
|
||||
|
||||
$table->decimal('shipping', 8, 2)->nullable();
|
||||
$table->decimal('shipping_net', 8, 2)->nullable();
|
||||
|
||||
$table->decimal('subtotal_ws', 13, 2)->nullable();
|
||||
$table->decimal('tax', 8, 2)->nullable();
|
||||
$table->decimal('total_shipping', 13, 2)->nullable();
|
||||
|
||||
$table->unsignedInteger('points')->nullable();
|
||||
|
||||
$table->unsignedInteger('weight')->nullable();
|
||||
|
||||
$table->boolean('paid')->default(false);
|
||||
$table->string('wp_invoice_path', 255)->nullable();
|
||||
$table->string('txaction', 20)->nullable()->index();
|
||||
|
||||
$table->unsignedTinyInteger('shipped')->default(0);
|
||||
$table->string('tracking', 255)->nullable();
|
||||
|
||||
|
||||
|
||||
|
||||
$table->char('mode', 4)->nullable();
|
||||
|
||||
$table->timestamps();
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@ class CreateShoppingOrderItemsTable extends Migration
|
|||
$table->unsignedInteger('product_id');
|
||||
$table->unsignedInteger('qty');
|
||||
$table->decimal('price', 8, 2)->nullable();
|
||||
$table->decimal('price_net', 8, 3)->nullable();
|
||||
|
||||
$table->decimal('tax_rate', 5, 2)->nullable();
|
||||
$table->string('slug')->nullable();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue