diff --git a/resources/views/orders/verify-order-payment.blade.php b/resources/views/orders/verify-order-payment.blade.php index 0cbbbde..0838669 100644 --- a/resources/views/orders/verify-order-payment.blade.php +++ b/resources/views/orders/verify-order-payment.blade.php @@ -67,28 +67,35 @@ class="{{ $order->payment->getStatusClass() }} p-2 rounded-md text-white">{{ $or
@foreach($order->attachments as $attachment)
- @if(in_array($attachment->type, ['image', 'image/png', 'video', 'png', 'jpg', 'jpeg', 'gif'])) + @if(in_array($attachment->type, ['image/jpeg', 'image/png', 'image/gif']))
-
- {{ $attachment->name }} +
+ {{ Str::limit($attachment->name, 20)}}
-
- @if($attachment->type === 'image' || in_array($attachment->type, ['png', 'image/png', 'jpg', 'jpeg', 'gif'])) +
+ @if($attachment->type === 'image' || in_array($attachment->type, ['image/png', 'image/png', 'image/jpg', 'image/jpeg', 'image/gif'])) {{ $attachment->name }} @elseif($attachment->type === 'video') - + @endif
@else +
- + +
+
+ + + +
+
@endif