salesentry filters

This commit is contained in:
Sampanna Rimal
2024-09-17 16:34:40 +05:45
parent afb2c202d6
commit 0b438e302d
19 changed files with 303 additions and 50 deletions

View File

@ -15,20 +15,11 @@ return new class extends Migration
{
Schema::create('tbl_salesentries', function (Blueprint $table) {
$table->id();
$table->string('title')->nullable();
$table->string('slug')->nullable();
$table->date('sales_date')->nullable();
$table->unsignedBigInteger('customer_id')->nullable();
$table->unsignedBigInteger('product_id')->nullable();
$table->unsignedBigInteger('category_id')->nullable();
$table->unsignedBigInteger('stock_id')->nullable();
$table->unsignedBigInteger('size_id')->nullable();
$table->string('payment')->nullable();
$table->unsignedBigInteger('paymentmode_id')->nullable();
$table->string('paymentref')->nullable();
$table->decimal('sub_total', 10, 2)->nullable();
$table->decimal('tax', 10, 2)->nullable();
$table->decimal('discount_amt', 10, 2)->nullable();
$table->decimal('total_amt', 10, 2)->nullable();
$table->timestamps();
});