1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

minor fixes

This commit is contained in:
David Bomba 2023-06-18 15:28:31 +10:00
parent b496bf2c13
commit 9290c45b95
2 changed files with 4 additions and 7 deletions

View File

@ -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)
{

View File

@ -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()