Invoice page added customer share link

This commit is contained in:
cuneytsenturk
2018-10-15 16:10:49 +03:00
parent 7ee300e5d1
commit c680ccf8f7
4 changed files with 16 additions and 2 deletions

View File

@ -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);