mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-30 09:44:15 +00:00
fixBankInSlip
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
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_path' => str_random(10),
|
||||
'transfer_amount' => $faker->randomDigit,
|
||||
'cust_marking' => str_random(10),
|
||||
'booking_id' => $faker->randomElement($book_id),
|
||||
];
|
||||
});
|
||||
Reference in New Issue
Block a user