mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for terms
This commit is contained in:
parent
d00730bc8b
commit
0025df940a
@ -360,7 +360,6 @@ class ProcessPostmarkWebhook implements ShouldQueue
|
|||||||
$postmark = new PostmarkClient($postmark_secret);
|
$postmark = new PostmarkClient($postmark_secret);
|
||||||
$messageDetail = $postmark->getOutboundMessageDetails($message_id);
|
$messageDetail = $postmark->getOutboundMessageDetails($message_id);
|
||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$messageDetail = $postmark->getOutboundMessageDetails($message_id);
|
$messageDetail = $postmark->getOutboundMessageDetails($message_id);
|
||||||
} catch(\Exception $e) {
|
} catch(\Exception $e) {
|
||||||
@ -371,8 +370,6 @@ class ProcessPostmarkWebhook implements ShouldQueue
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return $messageDetail;
|
return $messageDetail;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<p class="text-sm leading-6 font-medium text-gray-500">{{ $entity_type }} {{ $entity->number }}:</p>
|
<p class="text-sm leading-6 font-medium text-gray-500">{{ $entity_type }} {{ $entity->number }}:</p>
|
||||||
@if($variables && $entity->terms)
|
@if($variables && $entity->terms)
|
||||||
<h5 data-ref="entity-terms"{!! $entity->parseHtmlVariables('terms', $variables) !!}</h5>
|
<h5 data-ref="entity-terms">{!! $entity->parseHtmlVariables('terms', $variables) !!}</h5>
|
||||||
@elseif($entity->terms)
|
@elseif($entity->terms)
|
||||||
<h5 data-ref="entity-terms" class="text-sm leading-5 text-gray-900">{!! $entity->terms !!}</h5>
|
<h5 data-ref="entity-terms" class="text-sm leading-5 text-gray-900">{!! $entity->terms !!}</h5>
|
||||||
@else
|
@else
|
||||||
|
Loading…
Reference in New Issue
Block a user