芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/app/Http/Resources/BootstrapController.php
user(); foreach (\Menu::get('customer_portal_menu')->items->toArray() as $data) { if ($customer) { $menu[] = [ 'title' => $data->title, 'link' => $data->link->path['url'], ]; } } return (new CustomerResource($customer)) ->additional(['meta' => [ 'menu' => $menu, 'current_customer_currency' => Currency::find($customer->currency_id), 'modules' => Module::where('enabled', true)->pluck('name'), 'current_company_language' => CompanySetting::getSetting('language', $customer->company_id), ]]); } }