[WIP] Store Limit

This commit is contained in:
R
2022-12-05 04:30:00 +07:00
parent 2d5c7b571e
commit f5372e5d0a
19 changed files with 525 additions and 76 deletions

View File

@@ -16,7 +16,9 @@ return new class extends Migration
Schema::create('limit_journals', function (Blueprint $table) {
$table->id();
$table->morphs('journalable');
$table->string('mutation');
$table->string('previous_balance');
$table->string('total_debit')->nullable()->comment('Should be in positive value');
$table->string('total_credit')->nullable()->comment('Should be in negative value');
$table->string('type');
$table->string('balance');
$table->text('description');