mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 08:21:34 +02:00
minor fixes
This commit is contained in:
parent
b496bf2c13
commit
9290c45b95
@ -84,8 +84,8 @@ class PdfMaker
|
||||
/**
|
||||
* Final method to get compiled HTML.
|
||||
*
|
||||
* @param bool
|
||||
* @return string
|
||||
* @param bool $final @deprecated // is it? i still see it being called elsewhere
|
||||
* @return mixed
|
||||
*/
|
||||
public function getCompiledHTML($final = false)
|
||||
{
|
||||
|
@ -67,12 +67,9 @@ trait Inviteable
|
||||
$writer = new Writer($renderer);
|
||||
|
||||
$qr = $writer->writeString($this->getPaymentLink(), 'utf-8');
|
||||
|
||||
return $qr;
|
||||
// return "<p>{$qr}</p>";
|
||||
|
||||
// return "<p><svg class='pqrcode' viewBox='0 0 200 200' width='200' height='200' x='0' y='0' xmlns='http://www.w3.org/2000/svg'>
|
||||
// <rect x='0' y='0' width='100%' height='100%' />{$qr}</svg></p>";
|
||||
return "<svg class='pqrcode' viewBox='0 0 200 200' width='200' height='200' x='0' y='0' xmlns='http://www.w3.org/2000/svg'>
|
||||
<rect x='0' y='0' width='100%' height='100%' />{$qr}</svg>";
|
||||
}
|
||||
|
||||
public function getUnsubscribeLink()
|
||||
|
Loading…
Reference in New Issue
Block a user