uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
admin.priyotama.com
/
database
/
factories
/
OrderDetailFactory.php
/
/
<?php namespace Database\Factories; use App\Models\OrderDetail; use App\Models\Item; use Illuminate\Database\Eloquent\Factories\Factory; use App\CentralLogics\Helpers; class OrderDetailFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = OrderDetail::class; /** * Define the model's default state. * * @return array */ public function definition() { $item_id = $this->faker->numberBetween(1,162177); $food = Item::find($item_id); if($food) { $product = Helpers::product_data_formatting($food); return [ 'item_id' => $product['id'], 'order_id'=> $this->faker->numberBetween(100029,298425), 'item_campaign_id' => null, 'food_details' => json_encode($product), 'quantity' => $this->faker->numberBetween(1,100), 'created_at' => now(), 'updated_at' => now() ]; } } }
/home/users/unlimited/www/admin.priyotama.com/database/factories/OrderDetailFactory.php