begin order form with registration
This commit is contained in:
16
app/Repositories/Users.php
Normal file
16
app/Repositories/Users.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Repositories\Core\Auth\Users as parentUsers;
|
||||
use App\Repositories\Shop\SaleChannels;
|
||||
|
||||
class Users extends parentUsers
|
||||
{
|
||||
public static function getInfo($id = false)
|
||||
{
|
||||
$data = parent::getInfo($id);
|
||||
$data['sale_channel'] = SaleChannels::getDefault()->toArray();
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user