Fixes for connected account

This commit is contained in:
David Bomba 2021-03-14 21:32:09 +11:00
parent 6c8af1bcca
commit 255643d7dc
2 changed files with 4 additions and 1 deletions

View File

@ -136,7 +136,8 @@ class ConnectedAccountController extends BaseController
//$ct = CompanyUser::whereUserId(auth()->user()->id);
//return $this->listResponse($ct);
return $this->listResponse(auth()->user());
return $this->itemResponse(auth()->user());
// return $this->listResponse(auth()->user());
}
return response()

View File

@ -285,6 +285,8 @@ class HtmlEngine
$data['$company.website'] = ['value' => $this->settings->website ?: ' ', 'label' => ctrans('texts.website')];
$data['$company.address'] = ['value' => $this->company->present()->address($this->settings) ?: ' ', 'label' => ctrans('texts.address')];
$data['$signature'] = ['value' => $this->settings->email_signature ?: ' ', 'label' => ''];
$data['$spc_qr_code'] = ['value' => $this->company->present()->getSpcQrCode($this->client->currency()->code, $this->entity->number, $this->entity->balance), 'label' => ''];
$logo = $this->company->present()->logo($this->settings);