@extends('backend.master_structure') @section('content') @php use App\DashboardModel; $dash_model_instace = new DashboardModel(); $top_cat_qr = $dash_model_instace->get_top_category(); $url = Request::url(); $word = "coupons" @endphp @if(strpos($url, $word) !== false) @php $data_categories_qr = $dash_model_instace->get_data_category($word); @endphp @endif @php use App\MasterModel; $master_instance = new MasterModel(); @endphp @php $post_id = $edit_coupon_data->post_id; $data_type = "coupon_details"; $database = "data_posts"; $users_meta_details = $dash_model_instace->get_users_meta_data($post_id,$data_type,$database); @endphp