E-Invoice - Include voucherify data into the report

This commit is contained in:
Dillon Ngo
2025-10-31 13:40:03 +08:00
parent a909a725ad
commit 334dfd7b92
3 changed files with 94 additions and 9 deletions
@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddCategoryToVoucherCampaignsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('voucher_campaigns', function (Blueprint $table) {
$table->string('category')->nullable()->after('description');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('voucher_campaigns', function (Blueprint $table) {
$table->dropColumn('category');
});
}
}