#### Category : invoice

I need your suggestions on how to make an invoice system in laravel. So far I created a temporary answer for it but Im not sure if my method of doing it is correct. Here is my invoice migration public function up() { Schema::create(‘invoices’, function (Blueprint $table) {$table->id(); $table->string(‘name’);$table->integer(‘product_id’)->unsigned(); $table->date(‘invoice_date’);$table->date(‘due_date’); $table->foreign(‘product_id’)->references(‘product_id’)->on(‘products’);$table->timestamps(); ..