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