Archived
Add title sections to invoices backend and frontend, #41
This commit is contained in:
1 parent
250c4538aa
commit
d1656b56a0
7 files changed
+80
-31
No files matched your search
@@ -14,7 +14,8 @@ public function up(): void
|
||||
Schema::create('line_items', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('invoice_id')->constrained()->onDelete('cascade');
|
||||
$table->integer('position')->default(0);
|
||||
$table->decimal('position', 10, 2)->default(0);
|
||||
$table->boolean('is_section')->default(false);
|
||||
$table->string('title')->nullable();
|
||||
$table->string('description')->nullable();
|
||||
$table->integer('quantity')->default(1);
|
||||
|
||||
Reference in new issue
Block a user