mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:44:33 -04:00
Fixes for template
This commit is contained in:
parent
9cc7723949
commit
18fbcf75f7
@ -140,7 +140,7 @@ class EmailTemplateDefaults
|
|||||||
|
|
||||||
public static function emailPaymentFailedTemplate()
|
public static function emailPaymentFailedTemplate()
|
||||||
{
|
{
|
||||||
return '<p>$client<br><br>'.ctrans('texts.client_payment_failure_body', ['invoice' => '$number', 'amount' => '$amount']).'</p><div>$payment_error</div><br><div>$payment_button</div>';
|
return '<p>$client<br><br>'.ctrans('texts.client_payment_failure_body', ['invoice' => '$number', 'amount' => '$amount']).'</p><div>$payment_error</div><br><div>$view_button</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function emailQuoteReminder1Subject()
|
public static function emailQuoteReminder1Subject()
|
||||||
|
@ -85,6 +85,10 @@ class Document extends BaseModel
|
|||||||
'deleted_at' => 'timestamp',
|
'deleted_at' => 'timestamp',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
protected $touches = [
|
||||||
|
'documentable'
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
@ -49,7 +49,7 @@ trait SavesDocuments
|
|||||||
))->handle();
|
))->handle();
|
||||||
}
|
}
|
||||||
|
|
||||||
$entity->touch();
|
// $entity->touch();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function saveDocument($document, $entity, $is_public = true)
|
public function saveDocument($document, $entity, $is_public = true)
|
||||||
@ -78,7 +78,7 @@ trait SavesDocuments
|
|||||||
$is_public
|
$is_public
|
||||||
))->handle();
|
))->handle();
|
||||||
|
|
||||||
$entity->touch();
|
// $entity->touch();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user