Invoice page added customer share link
This commit is contained in:
@ -20,7 +20,11 @@ class Modules
|
||||
|
||||
$payment_methods = Cache::get($cache_admin);
|
||||
|
||||
$customer = auth()->user()->customer;
|
||||
$customer = true;
|
||||
|
||||
if (auth()->user()) {
|
||||
$customer = auth()->user()->customer;
|
||||
}
|
||||
|
||||
if ($customer && $type != 'all') {
|
||||
$payment_methods = Cache::get($cache_customer);
|
||||
|
Reference in New Issue
Block a user