1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
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'),
'currencyId' => $client->currency_id,
'account' => $client->account,
'hideLogo' => $account->isWhiteLabel(),
];
return View::make('payments.payment', $data);

View File

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