1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Fixes for terms

This commit is contained in:
David Bomba 2024-03-30 08:31:49 +11:00
parent d00730bc8b
commit 0025df940a
2 changed files with 1 additions and 4 deletions

View File

@ -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;
} }

View File

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