diff --git a/Modules/CCMS/app/Models/Country.php b/Modules/CCMS/app/Models/Country.php index ac49801..13a7f19 100644 --- a/Modules/CCMS/app/Models/Country.php +++ b/Modules/CCMS/app/Models/Country.php @@ -23,6 +23,7 @@ class Country extends Model 'slug', 'short_description', 'description', + 'faqs', 'image', 'parent_id', 'images', @@ -104,5 +105,4 @@ class Country extends Model { return $this->morphMany(Document::class, 'documentable'); } - } diff --git a/Modules/CCMS/database/migrations/2025_08_21_063159_add_faqs_to_countries_table.php b/Modules/CCMS/database/migrations/2025_08_21_063159_add_faqs_to_countries_table.php new file mode 100644 index 0000000..7d3bf63 --- /dev/null +++ b/Modules/CCMS/database/migrations/2025_08_21_063159_add_faqs_to_countries_table.php @@ -0,0 +1,28 @@ +longText('faqs')->nullable(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('countries', function (Blueprint $table) { + $table->dropColumn('faqs'); + }); + } +}; diff --git a/Modules/CCMS/resources/views/country/partials/_form.blade.php b/Modules/CCMS/resources/views/country/partials/_form.blade.php index a60acc0..2cdcf99 100644 --- a/Modules/CCMS/resources/views/country/partials/_form.blade.php +++ b/Modules/CCMS/resources/views/country/partials/_form.blade.php @@ -19,6 +19,11 @@ {{ html()->span('*')->class('text-danger') }} {{ html()->textarea('description')->class('form-control ckeditor-classic')->placeholder('Enter Country Description')->required() }} + +
+ {{ html()->label('Extra FAQs')->class('form-label')->for('faqs') }} + {{ html()->textarea('faqs')->class('form-control ckeditor-classic')->placeholder('Enter Extra FAQs')->required() }} +
@@ -87,13 +92,11 @@
{{ html()->label('Featured')->class('form-label')->for('image') }} - +
{{ html()->label('Banner')->class('form-label')->for('banner') }} -
diff --git a/resources/views/client/raffles/pages/study-destination-template.blade.php b/resources/views/client/raffles/pages/study-destination-template.blade.php index d2cfcd4..f22cdf7 100644 --- a/resources/views/client/raffles/pages/study-destination-template.blade.php +++ b/resources/views/client/raffles/pages/study-destination-template.blade.php @@ -21,7 +21,7 @@
  • -

    1

    +

    {{ $index + 1 }}

    {{-- --}}
    {{ $child->title }}
    @@ -176,109 +176,7 @@
    -
    -

    1. What is the average tuition, living, and - health insurance cost in the USA?

    -

    Bachelors: Tuition: $15,000–$35,000 - / year

    -

    Bachelors: Tuition: $15,000–$35,000 - / year

    -

    Living: $8,000–$12,000/year | Health Insurance: - $1,000–$2,000 / year

    -
    -
    -

    2. What types of scholarships are available? -

    -
      -
    • Merit-based: Based on academic - scores or test results
    • -
    • Merit-based: Based on academic - scores or test results
    • -
    • Merit-based:Based on academic scores or test - results
    • -
    - - -
    -
    -

    3. What types of scholarships are available? -

    - -
      -
    1. Merit-based: Based on academic - scores or test results
    2. -
    3. Merit-based: Based on academic - scores or test results
    4. -
    5. Merit-based:Based on academic scores or test - results
    6. -
    - -
    -
    -

    4. What types of scholarships are available? -

    - -
      -
    1. Merit-based: Based on - academic - scores or test results
    2. -
    3. Merit-based: Based on academic - scores or test results
    4. -
    5. Merit-based:Based on academic scores or test - results
    6. -
    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - -
    UniversitiesAnnual Tuition Fee - (Non-Eu/EEA) - in Euro & Approximate in NPRScholarships Available
    - University Of Copenhagen(UCPH) - - €10,000 – €17,000 OR - NPR 1,350,000 – 2,295,000 - - - Danish Government Scholarship (offered by the university - on behalf of the Danish Ministry) - -
    - University Of Copenhagen(UCPH) - - €10,000 – €17,000 OR - NPR 1,350,000 – 2,295,000 - - - Danish Government Scholarship (offered by the university - on behalf of the Danish Ministry) - -
    - -
    - + {{ $child->faqs ?? '' }}