146 lines
9.4 KiB
PHP
146 lines
9.4 KiB
PHP
@extends('Admin.layouts.master')
|
|
|
|
@section('content')
|
|
@php
|
|
$currentPage = 'manage_plan';
|
|
@endphp
|
|
|
|
<!--begin::Wrapper-->
|
|
<!--<div class="app-wrapper flex-column flex-row-fluid " id="kt_app_wrapper">-->
|
|
|
|
<!--begin::Main-->
|
|
<div class="app-main flex-column flex-row-fluid" id="kt_app_main">
|
|
<!--begin::Content wrapper-->
|
|
<div class="edit-activity-page d-flex flex-column flex-column-fluid ">
|
|
<div class="app-container container-xxl">
|
|
<h1
|
|
class="page-heading d-flex text-dark fw-bold fs-3 flex-column justify-content-center my-0">
|
|
Edit Plan</h1>
|
|
<div id="kt_app_content" class="app-content flex-column-fluid">
|
|
<div id="kt_app_content_container">
|
|
<!--begin::Tables Widget 13-->
|
|
<div class="card bg-color-card p-5">
|
|
<form id="edit_manage_plan_form">
|
|
@csrf
|
|
<input type="hidden" name="edit_plan_id" id="edit_plan_id" value="{{$plan_data['id']}}" >
|
|
<input type="hidden" name="edit_description_id" id="edit_description_id" value="{{$plan_data['subscription_package_descriptions']['id']}}" >
|
|
<input type="hidden" name="edit_packages_id" id="edit_packages_id" value="{{$plan_data['subscription_plan_packages']['id']}}" >
|
|
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div class="active-edit">
|
|
<label>Plan Name <span style="color:red;">*</span> :</label>
|
|
<div class="tain-box">
|
|
<input type="text" name="plan_name" value="{{$plan_data['plan_name']}}">
|
|
<!--<span>@error('plan_name'){{$message}}@enderror</span>-->
|
|
</div>
|
|
</div>
|
|
<div class="active-edit">
|
|
<label>Description <span style="color:red;">*</span> :</label>
|
|
<div class="tain-box">
|
|
<textarea name="plan_description" value="{{$plan_data['subscription_package_descriptions']['description']}}" >{{$plan_data['subscription_package_descriptions']['description']}}</textarea>
|
|
</div>
|
|
</div>
|
|
<div class="active-edit">
|
|
<label>Plan Period <span style="color:red;">*</span> :</label>
|
|
<div class="in-url tain-box">
|
|
<input type="text" name="plan_period" value="{{$plan_data['subscription_plan_packages']['plan_period']}}" class="" style="">
|
|
</div>
|
|
</div>
|
|
<div class="active-edit">
|
|
<label>Plan Price <span style="color:red;">*</span> :</label>
|
|
<div class="in-url tain-box">
|
|
<input type="text" name="plan_price" value="{{$plan_data['subscription_plan_packages']['plan_price']}}" class="" style="">
|
|
</div>
|
|
</div>
|
|
<div class="active-edit">
|
|
<label>Currency Type <span style="color:red;">*</span> :</label>
|
|
<div class="in-url tain-box">
|
|
<input type="text" name="currency_type" value="{{$plan_data['subscription_plan_packages']['currency_type']}}" class="" style="">
|
|
</div>
|
|
</div>
|
|
<!-- <div class="question-btn">
|
|
<button type="submit" class="btn btn-sm fw-bold btn-primary explore" style="margin-right:93px;" id="edit_submit">Save
|
|
</button>
|
|
{{-- <button type="submit" class="btn btn-sm fw-bold btn-primary explore" id="edit_submit">Save & Create New Clips
|
|
</button> --}}
|
|
{{-- <a type="submit" class="btn btn-sm fw-bold btn-primary explore" id="edit_submit">Save
|
|
</a> --}}
|
|
{{-- <a href="new-schedule.php" class="btn btn-sm fw-bold btn-primary explore qbtn-m1" id="edit_submit">Save & Create Schedule
|
|
</a> --}}
|
|
</div>-->
|
|
|
|
<div class="generate-report">
|
|
<div class="icon-a">
|
|
<button type="submit" class="btn btn-sm fw-bold btn-primary explore"
|
|
id="edit_manage_plan">Save & Update</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<!--end::Content container-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--end::Content-->
|
|
<!--</div>-->
|
|
<!--end::Content wrapper-->
|
|
|
|
</div>
|
|
<!--end:::Main-->
|
|
</div>
|
|
|
|
<div class="modal fade" id="description" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle"
|
|
aria-hidden="true">
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
<div class="modal-content description-pop">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<h2>Description</h2>
|
|
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type
|
|
specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularized in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
|
|
<p>ontrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words,
|
|
consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source.</p>
|
|
<div class="save-btn box-btn">
|
|
<button type="button" class="btn btn-primary">Save</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="modal fade" id="delete_opt" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle"
|
|
aria-hidden="true">
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
<div class="modal-content Delete_pop">
|
|
|
|
<div class="modal-body">
|
|
<svg style="color: red;margin-bottom: 20px;" xmlns="http://www.w3.org/2000/svg" width="50" height="50" fill="currentColor" class="bi bi-x-circle" viewBox="0 0 16 16"> <path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z" fill="red"></path> <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z" fill="red"></path> </svg>
|
|
<h2>Are you sure?</h2>
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor</p>
|
|
<div class="modal-footer logout_footer">
|
|
<button class="log-close" type="button" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">Cancel</span>
|
|
</button>
|
|
<a href=""><button type="button" class="btn btn-primary">Delete</button></a>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!--end::Modals-->
|
|
|
|
@endsection |