This commit is contained in:
Hillel Coren 2015-05-27 19:52:14 +03:00
commit 3b90030059
2 changed files with 3 additions and 2 deletions

View File

@ -325,6 +325,7 @@ class PaymentController extends BaseController
'countries' => Cache::get('countries'), 'countries' => Cache::get('countries'),
'currencyId' => $client->currency_id, 'currencyId' => $client->currency_id,
'account' => $client->account, 'account' => $client->account,
'hideLogo' => $account->isWhiteLabel(),
]; ];
return View::make('payments.payment', $data); return View::make('payments.payment', $data);

View File

@ -107,8 +107,8 @@
return ''; return '';
} }
keys = ['footer', 'account', 'client', 'amount', 'link']; keys = ['footer', 'account', 'client', 'amount', 'link', 'contact'];
vals = [{!! json_encode($emailFooter) !!}, '{!! Auth::user()->account->getDisplayName() !!}', 'Client Name', formatMoney(100), '{!! NINJA_WEB_URL !!}'] vals = [{!! json_encode($emailFooter) !!}, '{!! Auth::user()->account->getDisplayName() !!}', 'Client Name', formatMoney(100), '{!! NINJA_WEB_URL !!}', 'Contact Name']
for (var i=0; i<keys.length; i++) { for (var i=0; i<keys.length; i++) {
var regExp = new RegExp('\\$'+keys[i], 'g'); var regExp = new RegExp('\\$'+keys[i], 'g');