Merge branch 'master' of gitlab.com:CIEFWorldwideSdnBhd/exchange into fix/booking-integration

# Conflicts:
#	app/Http/Controllers/BookingController.php
#	routes/api.php
This commit is contained in:
Jack Goh
2018-06-18 22:42:16 +08:00
4 changed files with 40 additions and 2 deletions
+7 -1
View File
@@ -3,7 +3,13 @@
use Faker\Generator as Faker;
$factory->define(App\UserBankSlip::class, function (Faker $faker) {
$book_id = App\Booking::pluck('id')->toArray();
return [
//
'bank_slip_type' => str_random(10),
'bankslip_url' => str_random(10),
'transfer_amount' => $faker->randomDigit,
'cust_marking' => str_random(10),
'book_id' => $faker->randomElement($book_id),
];
});