replace offline to oflinepayment payment gateways
This commit is contained in:
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\OfflinePayment\Events\Handlers;
|
||||
|
||||
use App\Events\AdminMenuCreated;
|
||||
|
||||
class OfflinePaymentAdminMenu
|
||||
{
|
||||
/**
|
||||
* Handle the event.
|
||||
*
|
||||
* @param AdminMenuCreated $event
|
||||
* @return void
|
||||
*/
|
||||
public function handle(AdminMenuCreated $event)
|
||||
{
|
||||
// Add child to existing item
|
||||
$item = $event->menu->whereTitle(trans_choice('general.settings', 2));
|
||||
|
||||
$item->url('modules/offlinepayment/settings', trans('offlinepayment::offlinepayment.offlinepayment'), 4, ['icon' => 'fa fa-angle-double-right']);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user