2024-03-28 14:52:40 +05:30
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
$url_name = request()->segment(count(request()->segments()));
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<!--Footer start-->
|
|
|
|
|
|
|
|
|
|
<!--begin::Scrolltop-->
|
|
|
|
|
|
|
|
|
|
<div id="kt_scrolltop" class="scrolltop" data-kt-scrolltop="true">
|
|
|
|
|
|
|
|
|
|
<!--begin::Svg Icon | path: icons/duotune/arrows/arr066.svg-->
|
|
|
|
|
|
|
|
|
|
<span class="svg-icon">
|
|
|
|
|
|
|
|
|
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<rect opacity="0.5" x="13" y="6" width="13" height="2" rx="1" transform="rotate(90 13 6)"
|
|
|
|
|
fill="currentColor" />
|
2024-03-28 14:52:40 +05:30
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<path
|
|
|
|
|
d="M12.5657 8.56569L16.75 12.75C17.1642 13.1642 17.8358 13.1642 18.25 12.75C18.6642 12.3358 18.6642 11.6642 18.25 11.25L12.7071 5.70711C12.3166 5.31658 11.6834 5.31658 11.2929 5.70711L5.75 11.25C5.33579 11.6642 5.33579 12.3358 5.75 12.75C6.16421 13.1642 6.83579 13.1642 7.25 12.75L11.4343 8.56569C11.7467 8.25327 12.2533 8.25327 12.5657 8.56569Z"
|
|
|
|
|
fill="currentColor" />
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
</svg>
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<!--end::Svg Icon-->
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!--begin::Javascript-->
|
|
|
|
|
|
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<!-- <script>
|
|
|
|
|
var hostUrl = "assets/";
|
|
|
|
|
</script> -->
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<!--begin::Global Javascript Bundle(used by all pages)-->
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/plugins/global/plugins.bundle.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/scripts.bundle.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<!--end::Global Javascript Bundle-->
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
// function readNotification(notificationId){
|
|
|
|
|
// alert(notificationId);
|
|
|
|
|
// }
|
2024-04-04 19:13:00 +05:30
|
|
|
$(document).on('click', '.notify_id', function() {
|
2024-03-28 14:52:40 +05:30
|
|
|
var id = $(this).data('notify-id');
|
|
|
|
|
// alert(id);
|
2024-04-04 19:13:00 +05:30
|
|
|
$.ajaxSetup({
|
2024-03-28 14:52:40 +05:30
|
|
|
headers: {
|
|
|
|
|
"X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr("content"),
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
$.ajax({
|
2024-04-04 19:13:00 +05:30
|
|
|
// url:"/dashboard/read-notification/"+id,
|
|
|
|
|
url: "{{ route('read-notification') }}",
|
|
|
|
|
type: "GET",
|
2024-03-28 14:52:40 +05:30
|
|
|
data:{'id': id},
|
2024-04-04 19:13:00 +05:30
|
|
|
dataType: 'json',
|
2024-03-28 14:52:40 +05:30
|
|
|
// processData:false,
|
|
|
|
|
// contentType:false,
|
2024-04-04 19:13:00 +05:30
|
|
|
success: function(result) {
|
2024-03-28 14:52:40 +05:30
|
|
|
// toastr.success(result.message);
|
2024-04-04 19:13:00 +05:30
|
|
|
if (result.status == 200) {
|
2024-03-28 14:52:40 +05:30
|
|
|
// console.log(result.data.newUser);
|
2024-04-04 19:13:00 +05:30
|
|
|
if (result.data.newUser) {
|
2024-03-28 14:52:40 +05:30
|
|
|
$('#user-tab').empty().html(result.data.newUser);
|
|
|
|
|
}
|
2024-04-04 19:13:00 +05:30
|
|
|
if (result.data.submittedKyc) {
|
2024-03-28 14:52:40 +05:30
|
|
|
$('#kyc-tab').empty().html(result.data.submittedKyc);
|
|
|
|
|
}
|
2024-04-04 19:13:00 +05:30
|
|
|
if (result.data.sellerForm) {
|
2024-03-28 14:52:40 +05:30
|
|
|
$('#seller-tab').empty().html(result.data.sellerForm);
|
|
|
|
|
}
|
2024-04-04 19:13:00 +05:30
|
|
|
if (result.data.buyerForm) {
|
2024-03-28 14:52:40 +05:30
|
|
|
$('#buyer-tab').empty().html(result.data.buyerForm);
|
|
|
|
|
}
|
2024-04-04 19:13:00 +05:30
|
|
|
if (result.data.contactUs) {
|
2024-03-28 14:52:40 +05:30
|
|
|
$('#contact').empty().html(result.data.contactUs);
|
|
|
|
|
}
|
2024-04-04 19:13:00 +05:30
|
|
|
if (result.data.leadAssigned) {
|
2024-03-28 14:52:40 +05:30
|
|
|
$('#leads').empty().html(result.data.leadAssigned);
|
|
|
|
|
}
|
2024-06-07 11:31:27 +05:30
|
|
|
if (result.data.newLeads) {
|
|
|
|
|
$('#newleads').empty().html(result.data.newLeads);
|
|
|
|
|
}
|
2024-06-04 12:00:48 +05:30
|
|
|
if(result.data.unreadnotification)
|
|
|
|
|
{
|
|
|
|
|
$('#notification_count').empty().html(result.data.unreadnotification);
|
|
|
|
|
}
|
2024-04-04 19:13:00 +05:30
|
|
|
} else {
|
2024-03-28 14:52:40 +05:30
|
|
|
toastr.warning(result.message);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- DataTable script -->
|
|
|
|
|
|
|
|
|
|
<script src="https://cdn.datatables.net/1.13.2/js/jquery.dataTables.min.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/js/all.min.js"></script>
|
|
|
|
|
|
|
|
|
|
<!--begin::Custom Javascript(used by this page)-->
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/widgets.bundle.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/custom/widgets.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/custom/apps/chat/chat.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/custom/utilities/modals/upgrade-plan.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/custom/utilities/modals/create-app.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/custom/utilities/modals/new-target.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/custom/utilities/modals/users-search.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<!--end::Custom Javascript-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Validator Script -->
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.5/jquery.validate.min.js"
|
|
|
|
|
integrity="sha512-rstIgDs0xPgmG6RX1Aba4KV5cWJbAMcvRCVmglpam9SoHZiUCyQVDdH2LPlxoHtrv17XWblE/V/PP+Tr04hbtA=="
|
|
|
|
|
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--start::Custom Page Javascript-->
|
|
|
|
|
|
|
|
|
|
<!-- Dashboard Js -->
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'dashboard') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/dashboard.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Manage Commission Js -->
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_commission') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_commission/manage_commission.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Manage Investors Js -->
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_investors') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_investors/manage_investors.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'view_investors_details') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_investors/view_investors_details.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_investor_kyc') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_investors/manage_investor_kyc.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'total_active_investor') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_investors/total_active_investor.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'new_investor') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_investors/new_investor.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Manage FreeU Investment -->
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<!-- <script src="{{ asset('public/assets/js/AdminJs/manage_freeu_investment/manage_freeu_investment.js') }}"></script> -->
|
2024-03-28 14:52:40 +05:30
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
{{-- <script src="https://cdn.ckeditor.com/ckeditor5/35.3.0/super-build/ckeditor.js"></script> --}}
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'add_new_investment_product') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_freeu_investment/add_new_investment_product.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'view_investment_product') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_freeu_investment/view_investment_product.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_manufactures_company') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_freeu_investment/manage_manufactures_company.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_manufactures_category') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_freeu_investment/manage_manufactures_category.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Pre Owned Investment -->
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'investment_listing') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/pre_owned_investment/investment_listing.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_seller_featured') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/pre_owned_investment/manage_seller_featured.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_seller_profile') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/pre_owned_investment/manage_seller_profile.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'pre_owned_investment') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/pre_owned_investment/pre_owned_investment.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'total_investment_on_sale') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/pre_owned_investment/total_investment_on_sale.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'transaction') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/pre_owned_investment/transaction.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_investors') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/pre_owned_investment/manage_investors.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Manage Leads -->
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_leads') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_lead/manage_leads.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'new_leads') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_lead/new_leads.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'ongoing_leads') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_lead/ongoing_leads.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'completed_leads') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_lead/completed_leads.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'old_leads') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_lead/old_leads.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'lost_leads') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_lead/lost_leads.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Contact Form Leads -->
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'contact_form_leads') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/contact_form_leads/contact_form_leads.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- CMS -->
|
|
|
|
|
|
|
|
|
|
<!-- Manage Blog -->
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'add_new_blog') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_blog/add_new_blog.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_blog/edit_blog.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_blog') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_blog/manage_blog.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Manage FAQ Prathmesh-->
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_faq') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_faq/manage_faq.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'add_faq') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_faq/add_faq.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_faq/edit_faq.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Manage News -->
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'add_news') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_news/add_news.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_news/edit_news.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_news') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_news/manage_news.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Manage Testimonial Sneha-->
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'add_testimonial') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_testimonial/add_testimonial.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_testimonial/edit_testimonial.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_testimonial') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_testimonial/manage_testimonial.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_cms/manage_testimonial/delete_testimonial.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Manage Sub Admin -->
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'manage_sub_leads') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_sub_admin/manage_sub_leads.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'role_list') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_sub_admin/role_list.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if (isset($url_name) && $url_name == 'view_role') { ?>
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('public/assets/js/AdminJs/manage_sub_admin/view_role.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- CKEditor -->
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<script src="{{ asset('/public/assets/js/AdminJs/ckeditor.js') }}"></script>
|
2024-03-28 14:52:40 +05:30
|
|
|
<script src="https://cdn.datatables.net/buttons/2.3.6/js/dataTables.buttons.min.js"></script>
|
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
|
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js"></script>
|
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js"></script>
|
|
|
|
|
<script src="https://cdn.datatables.net/buttons/2.3.6/js/buttons.html5.min.js"></script>
|
|
|
|
|
<script src="https://cdn.datatables.net/buttons/2.3.6/js/buttons.print.min.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--end::Custom Page Javascript-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--end::Javascript-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--end::App-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
2024-04-04 19:13:00 +05:30
|
|
|
function markAsAdminRead(not_id) {
|
2024-03-28 14:52:40 +05:30
|
|
|
$.ajax({
|
2024-04-04 19:13:00 +05:30
|
|
|
url: '{{ route('mark-single-admin-notification') }}',
|
2024-03-28 14:52:40 +05:30
|
|
|
type: 'POST',
|
|
|
|
|
headers: {
|
|
|
|
|
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
|
|
|
|
},
|
|
|
|
|
data: {
|
2024-04-04 19:13:00 +05:30
|
|
|
'not_id': not_id
|
2024-03-28 14:52:40 +05:30
|
|
|
},
|
|
|
|
|
// processData: false,
|
|
|
|
|
// contentType: false,
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
success: function(result) {
|
|
|
|
|
if (result.status == 200) {
|
|
|
|
|
toastr.success(result.message);
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
location.reload();
|
|
|
|
|
}, 1000);
|
|
|
|
|
}
|
|
|
|
|
if (result.status == 400) {
|
|
|
|
|
toastr.warning(result.message);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-04-04 19:13:00 +05:30
|
|
|
|
2024-03-28 14:52:40 +05:30
|
|
|
function warning(arr) {
|
2024-06-10 16:34:37 +05:30
|
|
|
// status = 'status';
|
2024-03-28 14:52:40 +05:30
|
|
|
if ('status' in arr) {
|
|
|
|
|
toastr.warning(arr.message);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
let keys = Object.keys(arr.errors);
|
|
|
|
|
let length = Object.keys(arr.errors).length;
|
|
|
|
|
let warning = [];
|
|
|
|
|
for (let i = 0; i < length; i++) {
|
|
|
|
|
warning.push(arr.errors[keys[i]][0]);
|
|
|
|
|
warning.push('<br>');
|
|
|
|
|
};
|
|
|
|
|
toastr.warning(warning);
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
@yield('scripts')
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
<!--end::Body-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-04 19:13:00 +05:30
|
|
|
<!--Footer end-->
|