[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: MenuTableSeeder.php
<?php namespace Database\Seeders; use App\Libraries\AppLibrary; use App\Models\Menu; use Illuminate\Database\Seeder; class MenuTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $menus = [ [ 'name' => 'Dashboard', 'language' => 'dashboard', 'url' => 'dashboard', 'icon' => 'lab lab-dashboard', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Items', 'language' => 'items', 'url' => 'items', 'icon' => 'lab lab-items', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Dining Tables', 'language' => 'dining_tables', 'url' => 'dining-tables', 'icon' => 'lab lab-dining-table', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Pos & Orders', 'language' => 'pos_and_orders', 'url' => '#', 'icon' => 'lab lab-pos', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'POS', 'url' => 'pos', 'language' => 'pos', 'icon' => 'lab lab-pos', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'POS Orders', 'language' => 'pos_orders', 'url' => 'pos-orders', 'icon' => 'lab lab-pos-orders', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Online Orders', 'language' => 'online_orders', 'url' => 'online-orders', 'icon' => 'lab lab-online-orders', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Table Orders', 'language' => 'table_orders', 'url' => 'table-orders', 'icon' => 'lab lab-reserve-line', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'K.D.S', 'language' => 'k_d_s', 'url' => 'kitchen-display-system', 'icon' => 'lab lab-kds', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'O.S.S', 'language' => 'o_s_s', 'url' => 'order-status-screen', 'icon' => 'lab lab-cds', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ], ], [ 'name' => 'Promo', 'language' => 'promo', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Coupons', 'language' => 'coupons', 'url' => 'coupons', 'icon' => 'lab lab-coupons', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Offers', 'language' => 'offers', 'url' => 'offers', 'icon' => 'lab lab-offers', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ] ], [ 'name' => 'Communications', 'language' => 'communications', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Push Notifications', 'language' => 'push_notifications', 'url' => 'push-notifications', 'icon' => 'lab lab-push-notification', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Messages', 'language' => 'messages', 'url' => 'messages', 'icon' => 'lab lab-messages', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Subscribers', 'language' => 'subscribers', 'url' => 'subscribers', 'icon' => 'lab lab-subscribers', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ] ], [ 'name' => 'Users', 'language' => 'users', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Administrators', 'language' => 'administrators', 'url' => 'administrators', 'icon' => 'lab lab-administrators', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Delivery Boys', 'language' => 'delivery_boys', 'url' => 'delivery-boys', 'icon' => 'lab lab-delivery-boys', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Customers', 'language' => 'customers', 'url' => 'customers', 'icon' => 'lab lab-customers', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Employees', 'language' => 'employees', 'url' => 'employees', 'icon' => 'lab lab-employee-2', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Waiters', 'language' => 'waiters', 'url' => 'waiters', 'icon' => 'lab lab-waiter', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Chef', 'language' => 'chefs', 'url' => 'chefs', 'icon' => 'lab lab-chef', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], ] ], [ 'name' => 'Accounts', 'language' => 'accounts', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Transactions', 'language' => 'transactions', 'url' => 'transactions', 'icon' => 'lab lab-transactions', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ] ], [ 'name' => 'Reports', 'language' => 'reports', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Sales Report', 'language' => 'sales_report', 'url' => 'sales-report', 'icon' => 'lab lab-sales-report', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Items Report', 'language' => 'items_report', 'url' => 'items-report', 'icon' => 'lab lab-items-report', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'name' => 'Credit Balance Report', 'language' => 'credit_balance_report', 'url' => 'credit-balance-report', 'icon' => 'lab lab-credit-balance-report', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ] ], [ 'name' => 'Setup', 'language' => 'setup', 'url' => '#', 'icon' => 'lab ', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now(), 'children' => [ [ 'name' => 'Settings', 'language' => 'settings', 'url' => 'settings', 'icon' => 'lab lab-settings', 'priority' => 100, 'status' => 1, 'created_at' => now(), 'updated_at' => now() ] ] ] ]; Menu::insert(AppLibrary::associativeToNumericArrayBuilder($menus)); } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.81 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002