Mapping of bank statement records with exchange and shipping portal + UI to edit the details

This commit is contained in:
Dillon
2023-04-11 04:14:53 +08:00
parent 7ca23edb9b
commit 1954cfa63c
25 changed files with 1326 additions and 19 deletions
@@ -0,0 +1,43 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateStatementTransactionsDetailsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('statement_transactions_details', function (Blueprint $table) {
$table->id();
$table->date('date');
$table->unsignedBigInteger('statement_transactions_id');
$table->foreign('statement_transactions_id')->references('id')->on('statement_transactions');
// $table->string('description');
// $table->decimal('credit', 8, 2);
// $table->decimal('debit', 8, 2);
$table->string('pay_for');
$table->string('system_references');
// $table->string('remark_references');
// $table->boolean('is_multiple')->default(false);
// $table->boolean('is_matches')->default(false);
$table->string('system_amounts');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('statement_transactions_details');
}
}