Gutschriften Anpassungen

This commit is contained in:
Kevin Adametz 2021-04-29 16:36:11 +02:00
parent 3754f1c571
commit e670b92f5d
28 changed files with 303 additions and 99 deletions

View file

@ -47,6 +47,8 @@ class CreateShoppingOrdersTable extends Migration
$table->boolean('paid')->default(false);
$table->text('invoice')->nullable();
$table->string('invoice_number', 255)->nullable();
$table->string('wp_invoice_path', 255)->nullable();
$table->text('wp_notice')->nullable();

View file

@ -16,6 +16,7 @@ class CreateUserCreditsTable extends Migration
Schema::create('user_credits', function (Blueprint $table) {
$table->id();
$table->unsignedInteger('auth_user_id');
$table->string('credit_number', 255)->nullable();
$table->decimal('net', 13, 2)->nullable();
$table->decimal('tax_rate', 8, 2)->nullable();
$table->decimal('tax', 8, 2)->nullable();