Skip to content

Commit 92d3948

Browse files
committed
1 parent d7add46 commit 92d3948

File tree

4 files changed

+455
-231
lines changed

4 files changed

+455
-231
lines changed

database/migrations/2021_09_10_170715_create_tasks_table.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ public function up()
2828
$table->decimal('remaining_time', 10, 3)->nullable();
2929
$table->integer('status_id')->default(1);
3030
$table->integer('type');
31-
#1 = Productive
32-
#2 = Raw material
33-
#3 = Raw material (Sheet)
34-
#4 = Raw material (Profil)
35-
#5 = Raw material (block)
36-
#6 = Supplies
37-
#6 = Sub-contracting
38-
#6 = Composed component
31+
# 1 = Productive
32+
# 2 = Raw material
33+
# 3 = Raw material (Sheet)
34+
# 4 = Raw material (Profil)
35+
# 5 = Raw material (block)
36+
# 6 = Supplies
37+
# 7 = Sub-contracting
38+
# 8 = Composed component
3939
$table->date('delay')->nullable();
4040
$table->integer('qty')->nullable();
4141
$table->integer('qty_init')->nullable();

database/migrations/2021_09_17_181643_create_quote_lines_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function up()
2323
$table->integer('qty');
2424
$table->integer('methods_units_id');
2525
$table->decimal('selling_price', 10, 3);
26-
$table->decimal('discount', 10, 3);
26+
$table->decimal('discount', 10, 3)->default(0);
2727
$table->integer('accounting_vats_id');
2828
$table->date('delivery_date')->nullable();
2929
$table->integer('statu')->default(1);

0 commit comments

Comments
 (0)