bank reconciliation

This commit is contained in:
denisdulici
2018-10-27 17:57:40 +03:00
parent 42f6b00485
commit 268a4aa9d5
29 changed files with 1209 additions and 88 deletions

View File

@ -0,0 +1,54 @@
<?php
use Illuminate\Database\Migrations\Migration;
class AddReconciledColumn extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('bill_payments', function ($table) {
$table->boolean('reconciled')->default(0);
});
Schema::table('invoice_payments', function ($table) {
$table->boolean('reconciled')->default(0);
});
Schema::table('payments', function ($table) {
$table->boolean('reconciled')->default(0);
});
Schema::table('revenues', function ($table) {
$table->boolean('reconciled')->default(0);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('bill_payments', function ($table) {
$table->dropColumn('reconciled');
});
Schema::table('invoice_payments', function ($table) {
$table->dropColumn('reconciled');
});
Schema::table('payments', function ($table) {
$table->dropColumn('reconciled');
});
Schema::table('revenues', function ($table) {
$table->dropColumn('reconciled');
});
}
}