@extends('layouts.instructor') @push('title', get_phrase('Team Package Edit')) @section('content')
{{ get_phrase('Edit Team Package') }}
@csrf
{{ get_phrase('Title') }}
*
{{ get_phrase('Course') }}
*
{{ get_phrase('Select course privacy') }}
course_privacy == 'public') selected @endif> {{ get_phrase('Public') }}
course_privacy == 'private') selected @endif> {{ get_phrase('Private') }}
{{ get_phrase('Select a course') }}
@php $privacy = $package->course_privacy == 'public' ? 'active' : 'private'; @endphp @foreach (App\Models\Course::where('status', $privacy)->get() as $course)
course_id == $course->id) selected @endif> {{ $course->title }}
@endforeach
{{ get_phrase('Allocation') }}
*
{{ get_phrase('Estimated Price') }}
{{ get_phrase('Pricing type') }}
*
{{ get_phrase('Paid') }}
{{ get_phrase('Free') }}
{{ get_phrase('Price') }}
({{ currency() }})
*
{{ get_phrase('Package discount rate') }}
0%
{{ get_phrase('Package Expiry') }}
*
{{ get_phrase('Limited') }}
{{ get_phrase('Lifetime') }}
{{ get_phrase('Expiry Date') }}
{{ get_phrase('Thumbnail') }}
{{ get_phrase('Features') }}
@php $features = $package->features ? json_decode($package->features, true) : []; @endphp @foreach ($features as $feature)
@endforeach
{{ get_phrase('Submit') }}
@endsection @push('js') @endpush