mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 04:07:32 -05: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);
 | 
			
		||||
        $messageDetail = $postmark->getOutboundMessageDetails($message_id);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        try {
 | 
			
		||||
            $messageDetail = $postmark->getOutboundMessageDetails($message_id);
 | 
			
		||||
        } catch(\Exception $e) {
 | 
			
		||||
@ -371,8 +370,6 @@ class ProcessPostmarkWebhook implements ShouldQueue
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        return $messageDetail;
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -14,7 +14,7 @@
 | 
			
		||||
                        <div class="mb-4">
 | 
			
		||||
                            <p class="text-sm leading-6 font-medium text-gray-500">{{ $entity_type }} {{ $entity->number }}:</p>
 | 
			
		||||
                            @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)
 | 
			
		||||
                                <h5 data-ref="entity-terms" class="text-sm leading-5 text-gray-900">{!! $entity->terms !!}</h5>
 | 
			
		||||
                            @else
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user