mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
fixing unable mapping records and filtering function in Pending Export tab and listing data not same in Pending Export tab with export Invoice to autocount and calculate mapped percentage
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AddMappedRateToAccountStatementsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('account_statements', function (Blueprint $table) {
|
||||
$table->integer('total_rows')->unsigned()->default(0)->after('end_balance');
|
||||
$table->integer('mapped_rows')->unsigned()->default(0)->after('end_balance');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('account_statements', function (Blueprint $table) {
|
||||
$table->dropColumn('total_rows');
|
||||
$table->dropColumn('mapped_rows');
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user