From e56747735ba4c480433b6e87bc52e27e337110bd Mon Sep 17 00:00:00 2001 From: armiejean Date: Tue, 20 May 2025 17:59:56 +0800 Subject: [PATCH] card-type view UI fixed --- .../views/pages/view-card-types.blade.php | 102 +++++++++++++----- 1 file changed, 73 insertions(+), 29 deletions(-) diff --git a/resources/views/pages/view-card-types.blade.php b/resources/views/pages/view-card-types.blade.php index 5695a1f..aa3778c 100644 --- a/resources/views/pages/view-card-types.blade.php +++ b/resources/views/pages/view-card-types.blade.php @@ -3,40 +3,84 @@ @section('page_title', 'View Card Type') @section('content') -
-

View Card Type

- @if (session('success')) - - @endif - @if (session('error')) - - @endif - +
+
+
+
View Card Type
+
-
{{ $cardType['cardTypeDescription'] }}
-

Card Code: {{ $cardType['cardCode'] }}

-

Type: {{ $cardType['type'] }}

-

Short Description: {{ $cardType['cardTypeShortDescription'] }}

- @if ($cardType['cardTypeImage']) -

Card Image: View

+ @if (session('success')) + @endif -

Font Color: {{ $cardType['virtualCardFontColor'] }}

- @if ($cardType['cardTypeCoverImage']) -

Cover Image: View

+ @if (session('error')) + @endif -

ID Number Required: {{ $cardType['idNumberRequired'] }}

-

ID Number Description: {{ $cardType['idNumberDescription'] ?: 'N/A' }}

-

Terms and Conditions: {{ $cardType['termsAndConditions'] }}

-

FAQs: {{ $cardType['faqs'] }}

- Back +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + @if ($cardType['cardTypeImage']) + + View Image + @else + + @endif +
+
+ + +
+
+ + @if ($cardType['cardTypeCoverImage']) + + View Image + @else + + @endif +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ Back +
+
@endsection \ No newline at end of file