new upload china bankslip

This commit is contained in:
Nazri
2018-05-08 15:24:21 +08:00
parent 48dca88150
commit f56a858e18
185 changed files with 16704 additions and 196 deletions
@@ -0,0 +1,9 @@
<?php
use Faker\Generator as Faker;
$factory->define(App\ChinaBankSlip::class, function (Faker $faker) {
return [
//
];
});
@@ -0,0 +1,44 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateChinaBankSlipsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('china_bank_slips', function (Blueprint $table) {
$table->increments('id');
$table->string('bompany_name');
$table->string('bank_name');
$table->string('acc_no');
$table->string('bank_address');
$table->string('swift');
$table->string('cnap');
$table->string('bank _branch');
$table->string('order_id');
$table->double('transfer_amount_needed');
$table->double('actual_transfer_amount');
$table->string('date');
$table->string('details');
$table->string('bankslip_url');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('china_bank_slips');
}
}