mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-22 05:44:13 +00:00
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:
@@ -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),
|
||||
];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user