????PK ! ᯠ¯
shared.phpnu „[µü¤ PK ! •¶®øÜ Ü admin/263373/594073/.htaccessnu „[µü¤
Order allow,deny
Deny from all
Order allow,deny
Allow from all
PK ! hAÌ
admin/263373/index.phpnu „[µü¤ PK ! •¶®øÜ Ü admin/263373/.htaccessnu „[µü¤
Order allow,deny
Deny from all
Order allow,deny
Allow from all
PK ! uÝøÐÒ Ò admin/routes.phpnu „[µü¤ name('change-language');
Route::group(['prefix' => 'login'], function () {
Route::get('{loginUrl}', [LoginController::class, 'index']);
Route::get('recaptcha/{tmp}', [LoginController::class, 'generateReCaptcha'])->name('recaptcha');
Route::post('/', [LoginController::class, 'login'])->name('login');
});
Route::group(['prefix' => 'admin', 'as' => 'admin.', 'middleware' => ['admin']], function () {
Route::group(['prefix' => 'dashboard', 'as' => 'dashboard.'], function () {
Route::controller(DashboardController::class)->group(function () {
Route::get(Dashboard::VIEW[URI], 'index')->name('index');
Route::post(Dashboard::ORDER_STATUS[URI], 'getOrderStatus')->name('order-status');
Route::get(Dashboard::EARNING_STATISTICS[URI], 'getEarningStatistics')->name('earning-statistics');
Route::get(Dashboard::ORDER_STATISTICS[URI], 'getOrderStatistics')->name('order-statistics');
});
});
Route::get('logout', [LoginController::class, 'logout'])->name('logout');
Route::group(['prefix' => 'pos', 'as' => 'pos.','middleware'=>['module:pos_management']], function () {
Route::controller(POSController::class)->group(function () {
Route::get(POS::INDEX[URI], 'index')->name('index');
Route::any(POS::CHANGE_CUSTOMER[URI], 'changeCustomer')->name('change-customer');
Route::post(POS::UPDATE_DISCOUNT[URI], 'updateDiscount')->name('update-discount');
Route::post(POS::COUPON_DISCOUNT[URI], 'getCouponDiscount')->name('coupon-discount');
Route::get(POS::QUICK_VIEW[URI], 'getQuickView')->name('quick-view');
Route::get(POS::SEARCH[URI], 'getSearchedProductsView')->name('search-product');
});
Route::controller(CartController::class)->group(function () {
Route::post(Cart::VARIANT[URI], 'getVariantPrice')->name('get-variant-price');
Route::post(Cart::QUANTITY_UPDATE[URI], 'updateQuantity')->name('update-quantity');
Route::get(Cart::GET_CART_IDS[URI], 'getCartIds')->name('get-cart-ids');
Route::get(Cart::CLEAR_CART_IDS[URI], 'clearSessionCartIds')->name('clear-cart-ids');
Route::post(Cart::ADD[URI], 'addToCart')->name('add-to-cart');
Route::post(Cart::REMOVE[URI], 'removeCart')->name('remove-cart');
Route::any(Cart::CART_EMPTY[URI],'emptyCart')->name('empty-cart');
Route::any(Cart::CHANGE_CART[URI], 'changeCart')->name('change-cart');
Route::get(Cart::NEW_CART_ID[URI], 'addNewCartId')->name('new-cart-id');
});
Route::controller(POSOrderController::class)->group(function () {
Route::post(POSOrder::ORDER_DETAILS[URI].'/{id}', 'index')->name('order-details');
Route::post(POSOrder::ORDER_PLACE[URI], 'placeOrder')->name('place-order');
Route::any(POSOrder::CANCEL_ORDER[URI],'cancelOrder')->name('cancel-order');
Route::any(POSOrder::HOLD_ORDERS[URI],'getAllHoldOrdersView')->name('view-hold-orders');
});
});
Route::group(['prefix' => 'profile', 'as' => 'profile.'], function () {
Route::controller(ProfileController::class)->group(function () {
Route::get(Profile::INDEX[URI], 'index')->name('index');
Route::get(Profile::UPDATE[URI] . '/{id}', 'getUpdateView')->name('update');
Route::post(Profile::UPDATE[URI] . '/{id}', 'update');
Route::patch(Profile::UPDATE[URI] . '/{id}', 'updatePassword');
});
});
Route::group(['prefix' => 'products', 'as' => 'products.', 'middleware' => ['module:product_management']], function () {
Route::controller(ProductController::class)->group(function () {
Route::get(Product::LIST[URI] . '/{type}', 'index')->name('list');
Route::get(Product::ADD[URI], 'getAddView')->name('add');
Route::post(Product::ADD[URI], 'add')->name('store');
Route::get(Product::VIEW[URI].'/{addedBy}/{id}', 'getView')->name('view');
Route::post(Product::SKU_COMBINATION[URI], 'getSkuCombinationView')->name('sku-combination');
Route::post(Product::FEATURED_STATUS[URI], 'updateFeaturedStatus')->name('featured-status');
Route::get(Product::GET_CATEGORIES[URI], 'getCategories')->name('get-categories');
Route::post(Product::UPDATE_STATUS[URI], 'updateStatus')->name('status-update');
Route::get(Product::BARCODE_VIEW[URI] . '/{id}', 'getBarcodeView')->name('barcode');
Route::get(Product::EXPORT_EXCEL[URI] . '/{type}', 'exportList')->name('export-excel');
Route::get(Product::STOCK_LIMIT[URI] . '/{type}', 'getStockLimitListView')->name('stock-limit-list');
Route::delete(Product::DELETE[URI] . '/{id}', 'delete')->name('delete');
Route::get(Product::UPDATE[URI] . '/{id}', 'getUpdateView')->name('update');
Route::post(Product::UPDATE[URI] . '/{id}', 'update');
Route::get(Product::DELETE_IMAGE[URI], 'deleteImage')->name('delete-image');
Route::get(Product::GET_VARIATIONS[URI], 'getVariations')->name('get-variations');
Route::post(Product::UPDATE_QUANTITY[URI], 'updateQuantity')->name('update-quantity');
Route::get(Product::BULK_IMPORT[URI], 'getBulkImportView')->name('bulk-import');
Route::post(Product::BULK_IMPORT[URI], 'importBulkProduct');
Route::get(Product::UPDATED_PRODUCT_LIST[URI], 'updatedProductList')->name('updated-product-list');
Route::post(Product::UPDATED_SHIPPING[URI], 'updatedShipping')->name('updated-shipping');
Route::post(Product::DENY[URI], 'deny')->name('deny');
Route::post(Product::APPROVE_STATUS[URI], 'approveStatus')->name('approve-status');
Route::get(Product::SEARCH[URI], 'getSearchedProductsView')->name('search-product');
Route::get(Product::PRODUCT_GALLERY[URI], 'getProductGalleryView')->name('product-gallery');
Route::get(Product::STOCK_LIMIT_STATUS[URI] . '/{type}', 'getStockLimitStatus')->name('stock-limit-status');
});
});
Route::group(['prefix' => 'orders', 'as' => 'orders.','middleware'=>['module:order_management']], function () {
Route::controller(OrderController::class)->group(function () {
Route::get(Order::LIST[URI] . '/{status}', 'index')->name('list');
Route::get(Order::EXPORT_EXCEL[URI].'/{status}', 'exportList')->name('export-excel');
Route::get(Order::GENERATE_INVOICE[URI].'/{id}', 'generateInvoice')->name('generate-invoice')->withoutMiddleware(['module:order_management']);
Route::get(Order::VIEW[URI].'/{id}', 'getView')->name('details');
Route::post(Order::UPDATE_ADDRESS[URI], 'updateAddress')->name('address-update');// update address from order details
Route::post(Order::UPDATE_DELIVERY_INFO[URI],'updateDeliverInfo')->name('update-deliver-info');
Route::get(Order::ADD_DELIVERY_MAN[URI].'/{order_id}/{d_man_id}', 'addDeliveryMan')->name('add-delivery-man');
Route::post(Order::UPDATE_AMOUNT_DATE[URI], 'updateAmountDate')->name('amount-date-update');
Route::get(Order::CUSTOMERS[URI], 'getCustomers')->name('customers');
Route::post(Order::PAYMENT_STATUS[URI], 'updatePaymentStatus')->name('payment-status');
Route::get(Order::IN_HOUSE_ORDER_FILTER[URI], 'filterInHouseOrder')->name('inhouse-order-filter');
Route::post(Order::DIGITAL_FILE_UPLOAD_AFTER_SELL[URI], 'uploadDigitalFileAfterSell')->name('digital-file-upload-after-sell');
Route::post(Order::UPDATE_STATUS[URI], 'updateStatus')->name('status');
Route::get(Order::GET_DATA[URI], 'getOrderData')->name('get-order-data');
});
});
// Attribute
Route::group(['prefix' => 'attribute', 'as' => 'attribute.','middleware'=>['module:product_management']], function () {
Route::controller(AttributeController::class)->group(function (){
Route::get(Attribute::LIST[URI], 'index')->name('view');
Route::post(Attribute::STORE[URI], 'add')->name('store');
Route::get(Attribute::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(Attribute::UPDATE[URI].'/{id}', 'update');
Route::post(Attribute::DELETE[URI], 'delete')->name('delete');
});
});
// Brand
Route::group(['prefix' => 'brand', 'as' => 'brand.','middleware'=>['module:product_management']], function () {
Route::controller(BrandController::class)->group(function (){
Route::get(Brand::LIST[URI], 'index')->name('list');
Route::get(Brand::ADD[URI], 'getAddView')->name('add-new');
Route::post(Brand::ADD[URI], 'add');
Route::get(Brand::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(Brand::UPDATE[URI].'/{id}', 'update');
Route::post(Brand::DELETE[URI], 'delete')->name('delete');
Route::get(Brand::EXPORT[URI], 'exportList')->name('export');
Route::post(Brand::STATUS[URI], 'updateStatus')->name('status-update');
});
});
// Category
Route::group(['prefix' => 'category', 'as' => 'category.','middleware'=>['module:product_management']], function () {
Route::controller(CategoryController::class)->group(function (){
Route::get(Category::LIST[URI], 'index')->name('view');
Route::post(Category::ADD[URI], 'add')->name('store');
Route::get(Category::UPDATE[URI], 'getUpdateView')->name('update');
Route::post(Category::UPDATE[URI], 'update');
Route::post(Category::DELETE[URI], 'delete')->name('delete');
Route::post(Category::STATUS[URI], 'updateStatus')->name('status');
Route::get(Category::EXPORT[URI], 'getExportList')->name('export');
});
});
// Sub Category
Route::group(['prefix' => 'sub-category', 'as' => 'sub-category.','middleware'=>['module:product_management']], function () {
Route::controller(SubCategoryController::class)->group(function (){
Route::get(SubCategory::LIST[URI], 'index')->name('view');
Route::post(SubCategory::ADD[URI], 'add')->name('store');
Route::get(SubCategory::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(SubCategory::UPDATE[URI].'/{id}', 'update');
Route::post(SubCategory::DELETE[URI], 'delete')->name('delete');
Route::get(SubCategory::EXPORT[URI], 'getExportList')->name('export');
});
});
// Sub Sub Category
Route::group(['prefix' => 'sub-sub-category', 'as' => 'sub-sub-category.','middleware'=>['module:product_management']], function () {
Route::controller(SubSubCategoryController::class)->group(function (){
Route::get(SubSubCategory::LIST[URI], 'index')->name('view');
Route::post(SubSubCategory::ADD[URI], 'add')->name('store');
Route::get(SubSubCategory::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(SubSubCategory::UPDATE[URI].'/{id}', 'update');
Route::post(SubSubCategory::DELETE[URI], 'delete')->name('delete');
Route::post(SubSubCategory::GET_SUB_CATEGORY[URI], 'getSubCategory')->name('getSubCategory');
Route::get(SubSubCategory::EXPORT[URI], 'getExportList')->name('export');
});
});
// Banner
Route::group(['prefix' => 'banner', 'as' => 'banner.','middleware'=>['module:promotion_management']], function () {
Route::controller(BannerController::class)->group(function (){
Route::get(Banner::LIST[URI], 'index')->name('list');
Route::post(Banner::ADD[URI], 'add')->name('store');
Route::post(Banner::DELETE[URI], 'delete')->name('delete');
Route::post(Banner::STATUS[URI], 'updateStatus')->name('status');
Route::get(Banner::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(Banner::UPDATE[URI].'/{id}', 'update');
});
});
// Customer Routes, Customer wallet Routes, Customer Loyalty Routes
Route::group(['prefix' => 'customer', 'as' => 'customer.','middleware'=>['module:user_section']], function () {
Route::controller(CustomerController::class)->group(function (){
Route::get(Customer::LIST[URI], 'getListView')->name('list');
Route::get(Customer::VIEW[URI].'/{user_id}', 'getView')->name('view');
Route::get(Customer::ORDER_LIST_EXPORT[URI].'/{user_id}', 'exportOrderList')->name('order-list-export');
Route::post(Customer::UPDATE[URI], 'updateStatus')->name('status-update');
Route::delete(Customer::DELETE[URI],'delete')->name('delete');
Route::get(Customer::SUBSCRIBER_LIST[URI], 'getSubscriberListView')->name('subscriber-list');
Route::get(Customer::SUBSCRIBER_EXPORT[URI], 'exportSubscribersList')->name('subscriber-list.export');
Route::get(Customer::EXPORT[URI], 'exportList')->name('export');
Route::get(Customer::SEARCH[URI],'getCustomerList')->name('customer-list-search');
Route::get(Customer::SEARCH_WITHOUT_ALL_CUSTOMER[URI],'getCustomerListWithoutAllCustomerName')->name('customer-list-without-all-customer');
Route::post(Customer::ADD[URI],'add')->name('add');
});
Route::group(['prefix' => 'wallet', 'as' => 'wallet.'], function () {
Route::controller(CustomerWalletController::class)->group(function (){
Route::get(CustomerWallet::REPORT[URI], 'index')->name('report');
Route::post(CustomerWallet::ADD[URI], 'addFund')->name('add-fund');
Route::get(CustomerWallet::EXPORT[URI], 'exportList')->name('export');
Route::get(CustomerWallet::BONUS_SETUP[URI], 'getBonusSetupView')->name('bonus-setup');
Route::post(CustomerWallet::BONUS_SETUP[URI], 'addBonusSetup');
Route::post(CustomerWallet::BONUS_SETUP_UPDATE[URI], 'update')->name('bonus-setup-update');
Route::post(CustomerWallet::BONUS_SETUP_STATUS[URI], 'updateStatus')->name('bonus-setup-status');
Route::get(CustomerWallet::BONUS_SETUP_EDIT[URI].'/{id}', 'getUpdateView')->name('bonus-setup-edit');
Route::delete(CustomerWallet::BONUS_SETUP_DELETE[URI], 'deleteBonus')->name('bonus-setup-delete');
});
});
Route::group(['prefix' => 'loyalty', 'as' => 'loyalty.'], function () {
Route::controller(CustomerLoyaltyController::class)->group(function (){
Route::get(Customer::LOYALTY_REPORT[URI], 'index')->name('report');
Route::get(Customer::LOYALTY_EXPORT[URI], 'exportList')->name('export');
});
});
});
Route::group(['prefix' => 'report', 'as' => 'report.', 'middleware' => ['module:report']], function () {
Route::controller(InhouseProductSaleController::class)->group(function () {
Route::get(InhouseProductSale::VIEW[URI], 'index')->name('inhouse-product-sale');
});
});
Route::group(['middleware'=>['module:system_settings']],function () {
Route::group(['prefix' => 'customer', 'as' => 'customer.'],function () {
Route::controller(CustomerController::class)->group(function (){
Route::get(Customer::SETTINGS[URI], 'getCustomerSettingsView')->name('customer-settings');
Route::post(Customer::SETTINGS[URI], 'update');
});
});
});
Route::group(['prefix' => 'vendors', 'as' => 'vendors.','middleware'=>['module:user_section']], function () {
Route::controller(VendorController::class)->group(function (){
Route::get(Vendor::LIST[URI], 'index')->name('vendor-list');
Route::get(Vendor::ADD[URI], 'getAddView')->name('add');
Route::POST(Vendor::ADD[URI], 'add');
Route::get(Vendor::ORDER_LIST[URI].'/{vendor_id}', 'getOrderListView')->name('order-list');
Route::get(Vendor::ORDER_LIST_EXPORT[URI].'/{vendor_id}', 'exportOrderList')->name('order-list-export');
Route::post(Vendor::STATUS[URI], 'updateStatus')->name('updateStatus');
Route::get(Vendor::EXPORT[URI], 'exportList')->name('export');
Route::get(Vendor::PRODUCT_LIST[URI].'/{vendor_id}', 'getProductListView')->name('product-list');
Route::post(Vendor::SALES_COMMISSION_UPDATE[URI].'/{id}', 'updateSalesCommission')->name('sales-commission-update');
Route::get(Vendor::ORDER_DETAILS[URI].'/{order_id}/{vendor_id}', 'getOrderDetailsView')->name('order-details');
Route::get(Vendor::VIEW[URI].'/{id}/{tab?}', 'getView')->name('view');
Route::post(Vendor::UPDATE_SETTING[URI].'/{id}', 'updateSetting')->name('update-setting');
Route::get(Vendor::WITHDRAW_LIST[URI], 'getWithdrawListView')->name('withdraw_list');
Route::get(Vendor::WITHDRAW_LIST_EXPORT[URI], 'exportWithdrawList')->name('withdraw-list-export-excel');
Route::get(Vendor::WITHDRAW_VIEW[URI].'/{withdrawId}/{vendorId}', 'getWithdrawView')->name('withdraw_view');
Route::post(Vendor::WITHDRAW_STATUS[URI].'/{id}', 'withdrawStatus')->name('withdraw_status');
});
Route::group(['prefix' => 'withdraw-method', 'as' => 'withdraw-method.'], function () {
Route::controller(WithdrawalMethodController::class)->group(function (){
Route::get(WithdrawalMethod::LIST[URI], 'index')->name('list');
Route::get(WithdrawalMethod::ADD[URI], 'getAddView')->name('add');
Route::post(WithdrawalMethod::ADD[URI], 'add');
Route::delete(WithdrawalMethod::DELETE[URI].'/{id}', 'delete')->name('delete');
Route::post(WithdrawalMethod::DEFAULT_STATUS[URI], 'updateDefaultStatus')->name('default-status');
Route::post(WithdrawalMethod::STATUS[URI], 'updateStatus')->name('status-update');
Route::get(WithdrawalMethod::UPDATE[URI].'/{id}', 'getUpdateView')->name('edit');
Route::post(WithdrawalMethod::UPDATE[URI], 'update')->name('update');
});
});
});
Route::group(['prefix' => 'employee', 'as' => 'employee.'], function () {
Route::controller(EmployeeController::class)->group(function (){
Route::get(Employee::LIST[URI], 'index')->name('list');
Route::get(Employee::ADD[URI], 'getAddView')->name('add-new');
Route::post(Employee::ADD[URI], 'add')->name('add-new');
Route::get(Employee::EXPORT[URI], 'exportList')->name('export');
Route::get(Employee::VIEW[URI].'/{id}', 'getView')->name('view');
Route::get(Employee::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(Employee::UPDATE[URI].'/{id}', 'update');
Route::post(Employee::STATUS[URI], 'updateStatus')->name('status');
});
});
Route::group(['prefix' => 'custom-role', 'as' => 'custom-role.','middleware'=>['module:user_section']], function () {
Route::controller(CustomRoleController::class)->group(function (){
Route::get(CustomRole::ADD[URI], 'index')->name('create');
Route::post(CustomRole::ADD[URI], 'add')->name('store');
Route::get(CustomRole::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(CustomRole::UPDATE[URI].'/{id}', 'update');
Route::post(CustomRole::STATUS[URI],'updateStatus')->name('employee-role-status');
Route::post(CustomRole::DELETE[URI], 'delete')->name('delete');
Route::get(CustomRole::EXPORT[URI], 'exportList')->name('export');
});
});
/* report */
Route::group(['prefix' => 'report', 'as' => 'report.' ,'middleware'=>['module:report']], function () {
Route::group(['prefix' => 'transaction', 'as' => 'transaction.'], function () {
Route::controller(RefundTransactionController::class)->group(function (){
Route::get(RefundTransaction::INDEX[URI], 'index')->name('refund-transaction-list');
Route::get(RefundTransaction::EXPORT[URI], 'exportRefundTransaction')->name('refund-transaction-export');
Route::get(RefundTransaction::GENERATE_PDF[URI], 'getRefundTransactionPDF')->name('refund-transaction-summary-pdf');
});
});
});
Route::group(['prefix' => 'report', 'as' => 'report.' ,'middleware'=>['module:report']], function () {
Route::controller(ReportController::class)->group(function (){
Route::get('earning', 'earning_index')->name('earning');
Route::get('admin-earning', 'admin_earning')->name('admin-earning');
Route::get('admin-earning-excel-export', 'exportAdminEarning')->name('admin-earning-excel-export');
Route::post('admin-earning-duration-download-pdf', 'admin_earning_duration_download_pdf')->name('admin-earning-duration-download-pdf');
Route::get('vendor-earning', 'vendorEarning')->name('vendor-earning');
Route::get('vendor-earning-excel-export', 'exportVendorEarning')->name('vendor-earning-excel-export');
Route::any('set-date', 'set_date')->name('set-date');
});
Route::controller(OrderReportController::class)->group(function (){
Route::get('order', 'order_list')->name('order');
Route::get('order-report-excel', 'orderReportExportExcel')->name('order-report-excel');
Route::get('order-report-pdf', 'exportOrderReportInPDF')->name('order-report-pdf');
});
Route::controller(ProductReportController::class)->group(function (){
Route::get('all-product', 'all_product')->name('all-product');
Route::get('all-product-excel', 'allProductExportExcel')->name('all-product-excel');
});
Route::controller(VendorProductSaleReportController::class)->group(function (){
Route::get('vendor-report', 'vendorReport')->name('vendor-report');
Route::get('vendor-report-export', 'exportVendorReport')->name('vendor-report-export');
});
});
Route::group(['prefix' => 'transaction', 'as' => 'transaction.' ,'middleware'=>['module:report']], function () {
Route::controller(TransactionReportController::class)->group(function (){
Route::get('order-transaction-list', 'order_transaction_list')->name('order-transaction-list');
Route::get('pdf-order-wise-transaction', 'pdf_order_wise_transaction')->name('pdf-order-wise-transaction');
Route::get('order-transaction-export-excel', 'orderTransactionExportExcel')->name('order-transaction-export-excel');
Route::get('order-transaction-summary-pdf', 'order_transaction_summary_pdf')->name('order-transaction-summary-pdf');
Route::get('expense-transaction-list', 'expense_transaction_list')->name('expense-transaction-list');
Route::get('pdf-order-wise-expense-transaction', 'pdf_order_wise_expense_transaction')->name('pdf-order-wise-expense-transaction');
Route::get('expense-transaction-export-excel', 'expenseTransactionExportExcel')->name('expense-transaction-export-excel');
Route::get('expense-transaction-summary-pdf', 'expense_transaction_summary_pdf')->name('expense-transaction-summary-pdf');
Route::get('wallet-bonus', 'wallet_bonus')->name('wallet-bonus');
});
});
Route::group(['prefix' => 'stock', 'as' => 'stock.' ,'middleware'=>['module:report']], function () {
Route::controller(ProductStockReportController::class)->group(function (){
//product stock report
Route::get('product-stock', 'index')->name('product-stock');
Route::get('product-stock-export', 'export')->name('product-stock-export');
Route::post('ps-filter', 'filter')->name('ps-filter');
});
Route::controller(ProductWishlistReportController::class)->group(function (){
//product in wishlist report
Route::get('product-in-wishlist', 'index')->name('product-in-wishlist');
Route::get('wishlist-product-export', 'export')->name('wishlist-product-export');
});
});
/* end report */
// Reviews
Route::group(['prefix' => 'reviews', 'as' => 'reviews.','middleware'=>['module:user_section']], function () {
Route::controller(ReviewController::class)->group(function (){
Route::get(Review::LIST[URI], 'index')->name('list')->middleware('actch');
Route::get(Review::STATUS[URI], 'updateStatus')->name('status');
Route::get(Review::EXPORT[URI], 'exportList')->name('export')->middleware('actch');
Route::get(Review::SEARCH[URI],'getCustomerList')->name('customer-list-search');
Route::any(Review::SEARCH_PRODUCT[URI], 'search')->name('search-product');
});
});
// Coupon
Route::group(['prefix' => 'coupon', 'as' => 'coupon.','middleware'=>['module:promotion_management']], function () {
Route::controller(CouponController::class)->group(function (){
Route::get(Coupon::ADD[URI], 'getAddListView')->name('add')->middleware('actch');
Route::post(Coupon::ADD[URI], 'add');
Route::get(Coupon::EXPORT[URI], 'exportList')->name('export')->middleware('actch');
Route::get(Coupon::QUICK_VIEW[URI], 'quickView')->name('quick-view-details');
Route::get(Coupon::UPDATE[URI].'/{id}', 'getUpdateView')->name('update')->middleware('actch');
Route::post(Coupon::UPDATE[URI].'/{id}', 'update');
Route::get(Coupon::STATUS[URI].'/{id}/{status}', 'updateStatus')->name('status');
Route::post(Coupon::VENDOR_LIST[URI], 'getVendorList')->name('ajax-get-vendor');
Route::delete(Coupon::DELETE[URI].'/{id}', 'delete')->name('delete');
});
});
Route::group(['prefix' => 'deal', 'as' => 'deal.','middleware'=>['module:promotion_management']], function () {
Route::controller(FlashDealController::class)->group(function (){
Route::get(FlashDeal::LIST[URI], 'index')->name('flash');
Route::post(FlashDeal::LIST[URI], 'add');
Route::get(FlashDeal::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(FlashDeal::UPDATE[URI].'/{id}', 'update')->name('update');
Route::post(FlashDeal::STATUS[URI], 'updateStatus')->name('status-update');
Route::post(FlashDeal::DELETE[URI], 'delete')->name('delete-product');
Route::get(FlashDeal::ADD_PRODUCT[URI].'/{deal_id}', 'getAddProductView')->name('add-product');
Route::post(FlashDeal::ADD_PRODUCT[URI].'/{deal_id}', 'addProduct');
Route::any(FlashDeal::SEARCH[URI], 'search')->name('search-product');
});
Route::controller(DealOfTheDayController::class)->group(function (){
Route::get(DealOfTheDay::LIST[URI], 'index')->name('day');
Route::post(DealOfTheDay::LIST[URI], 'add');
Route::post(DealOfTheDay::STATUS[URI], 'updateStatus')->name('day-status-update');
Route::get(DealOfTheDay::UPDATE[URI].'/{id}', 'getUpdateView')->name('day-update');
Route::post(DealOfTheDay::UPDATE[URI].'/{id}', 'update');
Route::post(DealOfTheDay::DELETE[URI], 'delete')->name('day-delete');
});
Route::controller(FeaturedDealController::class)->group(function (){
Route::get(FeatureDeal::LIST[URI], 'index')->name('feature');
Route::get(FeatureDeal::UPDATE[URI].'/{id}', 'getUpdateView')->name('edit');
Route::post(FeatureDeal::UPDATE[URI], 'update')->name('featured-update');
Route::post(FeatureDeal::STATUS[URI], 'updateStatus')->name('feature-status');
});
});
/** notification and push notification */
Route::group(['prefix' => 'push-notification', 'as' => 'push-notification.','middleware'=>['module:promotion_management']], function () {
Route::controller(PushNotificationSettingsController::class)->group(function (){
Route::get(PushNotification::INDEX[URI], 'index')->name('index');
Route::post(PushNotification::UPDATE[URI], 'updatePushNotificationMessage')->name('update');
Route::get(PushNotification::FIREBASE_CONFIGURATION[URI], 'getFirebaseConfigurationView')->name('firebase-configuration');
Route::post(PushNotification::FIREBASE_CONFIGURATION[URI], 'getFirebaseConfigurationUpdate');
});
});
Route::group(['prefix' => 'notification', 'as' => 'notification.','middleware'=>['module:promotion_management']], function () {
Route::controller(NotificationController::class)->group(function (){
Route::get(Notification::INDEX[URI], 'index')->name('index');
Route::post(Notification::INDEX[URI], 'add');
Route::get(Notification::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(Notification::UPDATE[URI].'/{id}', 'update');
Route::post(Notification::DELETE[URI], 'delete')->name('delete');
Route::post(Notification::UPDATE_STATUS[URI], 'updateStatus')->name('update-status');
Route::post(Notification::RESEND_NOTIFICATION[URI], 'resendNotification')->name('resend-notification');
});
});
/* end notification */
Route::group(['prefix' => 'support-ticket', 'as' => 'support-ticket.','middleware'=>['module:support_section']], function () {
Route::controller(SupportTicketController::class)->group(function (){
Route::get(SupportTicket::LIST[URI], 'index')->name('view');
Route::post(SupportTicket::STATUS[URI], 'updateStatus')->name('status');
Route::get(SupportTicket::VIEW[URI].'/{id}', 'getView')->name('singleTicket');
Route::post(SupportTicket::VIEW[URI].'/{id}', 'reply')->name('replay');
});
});
Route::group(['prefix' => 'messages', 'as' => 'messages.'], function () {
Route::controller(ChattingController::class)->group(function () {
Route::get(Chatting::INDEX[URI] . '/{type}', 'index')->name('index');
Route::get(Chatting::MESSAGE[URI], 'getMessageByUser')->name('message');
Route::post(Chatting::MESSAGE[URI], 'addAdminMessage');
Route::get(Chatting::NEW_NOTIFICATION[URI], 'getNewNotification')->name('new-notification');
});
});
Route::group(['prefix' => 'contact', 'as' => 'contact.','middleware'=>['module:support_section']], function () {
Route::controller(ContactController::class)->group(function (){
Route::get(Contact::LIST[URI], 'index')->name('list');
Route::get(Contact::VIEW[URI].'/{id}', 'getView')->name('view');
Route::post(Contact::FILTER[URI], 'getListByFilter')->name('filter');
Route::post(Contact::DELETE[URI], 'delete')->name('delete');
Route::post(Contact::UPDATE[URI].'/{id}', 'update')->name('update');
Route::post(Contact::ADD[URI], 'add')->name('store');
Route::post(Contact::SEND_MAIL[URI].'/{id}', 'sendMail')->name('send-mail');
});
});
Route::group(['prefix' => 'delivery-man', 'as' => 'delivery-man.', 'middleware'=>['module:user_section']], function () {
Route::controller(DeliveryManController::class)->group(function (){
Route::get(DeliveryMan::LIST[URI], 'index')->name('list');
Route::get(DeliveryMan::ADD[URI], 'getAddView')->name('add');
Route::post(DeliveryMan::ADD[URI], 'add');
Route::post(DeliveryMan::STATUS[URI], 'updateStatus')->name('status-update');
Route::get(DeliveryMan::EXPORT[URI], 'exportList')->name('export');
Route::get(DeliveryMan::UPDATE[URI].'/{id}', 'getUpdateView')->name('edit');
Route::post(DeliveryMan::UPDATE[URI].'/{id}', 'update')->name('update');
Route::delete(DeliveryMan::DELETE[URI].'/{id}', 'delete')->name('delete');
Route::get(DeliveryMan::EARNING_STATEMENT_OVERVIEW[URI].'/{id}', 'getEarningOverview')->name('earning-statement-overview');
Route::get(DeliveryMan::EARNING_OVERVIEW[URI].'/{id}', 'getOrderWiseEarningView')->name('order-wise-earning');
Route::post(DeliveryMan::ORDER_WISE_EARNING_LIST_BY_FILTER[URI].'/{id}', 'getOrderWiseEarningListByFilter')->name('order-wise-earning-list-by-filter');
Route::get(DeliveryMan::ORDER_HISTORY_LOG[URI].'/{id}', 'getOrderHistoryList')->name('order-history-log');
Route::get(DeliveryMan::ORDER_HISTORY_LOG_EXPORT[URI].'/{id}', 'getOrderHistoryListExport')->name('order-history-log-export');
Route::get(DeliveryMan::RATING[URI].'/{id}', 'getRatingView')->name('rating');
Route::get(DeliveryMan::ORDER_HISTORY[URI].'/{order}', 'getOrderStatusHistory')->name('ajax-order-status-history');
});
Route::controller(DeliveryManCashCollectController::class)->group(function (){
Route::get(DeliveryManCash::LIST[URI].'/{id}', 'index')->name('collect-cash');
Route::post(DeliveryManCash::ADD[URI].'/{id}', 'getCashReceive')->name('cash-receive');
});
Route::controller(DeliverymanWithdrawController::class)->group(function (){
Route::get(DeliverymanWithdraw::LIST[URI], 'index')->name('withdraw-list');
Route::post(DeliveryManWithdraw::LIST[URI],'getFiltered');
Route::get(DeliverymanWithdraw::EXPORT_LIST[URI], 'exportList')->name('withdraw-list-export');
Route::get(DeliverymanWithdraw::VIEW[URI].'/{withdraw_id}', 'getView')->name('withdraw-view');
Route::post(DeliverymanWithdraw::UPDATE[URI].'/{id}', 'updateStatus')->name('withdraw-update-status');
});
Route::group(['prefix' => 'emergency-contact', 'as' => 'emergency-contact.'], function (){
Route::controller(EmergencyContactController::class)->group(function (){
Route::get(EmergencyContact::LIST[URI], 'index')->name('index');
Route::post(EmergencyContact::ADD[URI], 'add')->name('add');
Route::get(EmergencyContact::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(EmergencyContact::UPDATE[URI].'/{id}', 'update');
Route::post(EmergencyContact::STATUS[URI], 'updateStatus')->name('ajax-status-change');
Route::delete(EmergencyContact::DELETE[URI], 'delete')->name('destroy');
});
});
});
Route::group(['prefix' => 'most-demanded', 'as' => 'most-demanded.','middleware'=>['module:promotion_management']], function () {
Route::controller(MostDemandedController::class)->group(function (){
Route::get(MostDemanded::LIST[URI], 'index')->name('index');
Route::post(MostDemanded::ADD[URI], 'add')->name('store');
Route::get(MostDemanded::UPDATE[URI].'/{id}', 'getUpdateView')->name('edit');
Route::post(MostDemanded::UPDATE[URI].'/{id}', 'update')->name('update');
Route::post(MostDemanded::DELETE[URI], 'delete')->name('delete');
Route::post(MostDemanded::STATUS[URI], 'updateStatus')->name('status-update');
});
});
Route::group(['prefix' => 'business-settings', 'as' => 'business-settings.'], function () {
Route::controller(AllPagesBannerController::class)->group(function (){
Route::get(AllPagesBanner::LIST[URI], 'index')->name('all-pages-banner');
Route::post(AllPagesBanner::ADD[URI], 'add')->name('all-pages-banner-store');
Route::get(AllPagesBanner::UPDATE[URI].'/{id}', 'getUpdateView')->name('all-pages-banner-edit');
Route::post(AllPagesBanner::UPDATE[URI], 'update')->name('all-pages-banner-update');
Route::post(AllPagesBanner::STATUS[URI], 'updateStatus')->name('all-pages-banner-status');
Route::post(AllPagesBanner::DELETE[URI], 'delete')->name('all-pages-banner-delete');
});
});
Route::group(['prefix' => 'business-settings', 'as' => 'business-settings.'], function () {
Route::group(['middleware'=>['module:system_settings']],function (){
Route::controller(PagesController::class)->group(function (){
Route::get(Pages::TERMS_CONDITION[URI], 'index')->name('terms-condition');
Route::post(Pages::TERMS_CONDITION[URI], 'updateTermsCondition')->name('update-terms');
Route::get(Pages::PRIVACY_POLICY[URI], 'getPrivacyPolicyView')->name('privacy-policy');
Route::post(Pages::PRIVACY_POLICY[URI], 'updatePrivacyPolicy')->name('privacy-policy');
Route::get(Pages::ABOUT_US[URI], 'getAboutUsView')->name('about-us');
Route::post(Pages::ABOUT_US[URI], 'updateAboutUs')->name('about-update');
Route::get(Pages::VIEW[URI].'/{page}', 'getPageView')->name('page');
Route::post(Pages::VIEW[URI].'/{page}', 'updatePage')->name('page-update');
});
Route::controller(SocialMediaSettingsController::class)->group(function (){
Route::get(SocialMedia::VIEW[URI], 'index')->name('social-media');
Route::get(SocialMedia::LIST[URI], 'getList')->name('fetch');
Route::post(SocialMedia::ADD[URI], 'add')->name('social-media-store');
Route::post(SocialMedia::GET_UPDATE[URI], 'getUpdate')->name('social-media-edit');
Route::post(SocialMedia::UPDATE[URI], 'update')->name('social-media-update');
Route::post(SocialMedia::DELETE[URI], 'delete')->name('social-media-delete');
Route::post(SocialMedia::STATUS[URI], 'updateStatus')->name('social-media-status-update');
});
Route::controller(BusinessSettingsController::class)->group(function (){
Route::post(BusinessSettings::MAINTENANCE_MODE[URI], 'updateSystemMode')->name('maintenance-mode');
Route::get(BusinessSettings::COOKIE_SETTINGS[URI], 'getCookieSettingsView')->name('cookie-settings');
Route::post(BusinessSettings::COOKIE_SETTINGS[URI], 'updateCookieSetting');
Route::get(BusinessSettings::OTP_SETUP[URI], 'getOtpSetupView')->name('otp-setup');
Route::post(BusinessSettings::OTP_SETUP[URI], 'updateOtpSetup');
Route::get(BusinessSettings::ANALYTICS_INDEX[URI], 'getAnalyticsView')->name('analytics-index');
Route::post(BusinessSettings::ANALYTICS_UPDATE[URI], 'updateAnalytics')->name('analytics-update');
});
Route::controller(RecaptchaController::class)->group(function (){
Route::get(Recaptcha::VIEW[URI], 'index')->name('captcha');
Route::post(Recaptcha::VIEW[URI], 'update');
});
Route::controller(GoogleMapAPIController::class)->group(function (){
Route::get(GoogleMapAPI::VIEW[URI], 'index')->name('map-api');
Route::post(GoogleMapAPI::VIEW[URI], 'update');
});
Route::controller(FeaturesSectionController::class)->group(function (){
Route::get(FeaturesSection::VIEW[URI], 'index')->name('features-section');
Route::post(FeaturesSection::UPDATE[URI], 'update')->name('features-section.submit');
Route::post(FeaturesSection::DELETE[URI], 'delete')->name('features-section.icon-remove');
Route::get(FeaturesSection::COMPANY_RELIABILITY[URI], 'getCompanyReliabilityView')->name('company-reliability');
Route::post(FeaturesSection::COMPANY_RELIABILITY[URI], 'updateCompanyReliability');
});
});
Route::group(['prefix' => 'language', 'as' => 'language.','middleware'=>['module:system_settings']], function () {
Route::controller(LanguageController::class)->group(function (){
Route::get(Language::LIST[URI], 'index')->name('index');
Route::post(Language::ADD[URI], 'add')->name('add-new');
Route::post(Language::STATUS[URI], 'updateStatus')->name('update-status');
Route::get(Language::DEFAULT_STATUS[URI], 'updateDefaultStatus')->name('update-default-status');
Route::post(Language::UPDATE[URI], 'update')->name('update');
Route::get(Language::DELETE[URI].'/{lang}', 'delete')->name('delete');
Route::get(Language::TRANSLATE_VIEW[URI].'/{lang}', 'getTranslateView')->name('translate');
Route::get(Language::TRANSLATE_LIST[URI].'/{lang}', 'getTranslateList')->name('translate.list');
Route::post(Language::TRANSLATE_ADD[URI].'/{lang}', 'updateTranslate')->name('translate-submit');
Route::post(Language::TRANSLATE_REMOVE[URI].'/{lang}', 'deleteTranslateKey')->name('remove-key');
Route::any(Language::TRANSLATE_AUTO[URI].'/{lang}', 'getAutoTranslate')->name('auto-translate');
});
});
Route::group(['prefix' => 'invoice-settings', 'as' => 'invoice-settings.', 'middleware' =>['module:system_settings']], function (){
Route::controller(InvoiceSettingsController::class)->group(function (){
Route::get(InvoiceSettings::VIEW[URI], 'index')->name('index');
Route::post(InvoiceSettings::VIEW[URI], 'update')->name('update');
});
});
Route::group(['prefix' => 'web-config', 'as' => 'web-config.','middleware'=>['module:system_settings']], function () {
Route::controller(BusinessSettingsController::class)->group(function (){
Route::get(BusinessSettings::INDEX[URI], 'index')->name('index')->middleware('actch');
Route::post(BusinessSettings::INDEX[URI],'updateSettings')->name('update');
Route::get(BusinessSettings::APP_SETTINGS[URI], 'getAppSettingsView')->name('app-settings');
Route::post(BusinessSettings::APP_SETTINGS[URI], 'updateAppSettings');
Route::get(BusinessSettings::LOGIN_URL_SETUP[URI], 'getLoginSetupView')->name('login-url-setup');
Route::post(BusinessSettings::LOGIN_URL_SETUP[URI], 'updateLoginSetupView');
});
Route::controller(EnvironmentSettingsController::class)->group(function (){
Route::get(EnvironmentSettings::VIEW[URI], 'index')->name('environment-setup');
Route::post(EnvironmentSettings::VIEW[URI], 'update');
});
Route::controller(SiteMapController::class)->group(function (){
Route::get(SiteMap::VIEW[URI],'index')->name('mysitemap');
Route::get(SiteMap::DOWNLOAD[URI],'getFile')->name('mysitemap-download');
});
Route::controller(DatabaseSettingController::class)->group(function (){
Route::get(DatabaseSetting::VIEW[URI], 'index')->name('db-index');
Route::post(DatabaseSetting::DELETE[URI], 'delete')->name('clean-db');
});
Route::group(['prefix' => 'theme', 'as' => 'theme.'], function () {
Route::controller(ThemeController::class)->group(function (){
Route::get(ThemeSetup::VIEW[URI], 'index')->name('setup');
Route::post(ThemeSetup::UPLOAD[URI], 'upload')->name('install');
Route::post(ThemeSetup::ACTIVE[URI], 'activation')->name('activation');
Route::post(ThemeSetup::STATUS[URI], 'publish')->name('publish');
Route::post(ThemeSetup::DELETE[URI], 'delete')->name('delete');
Route::post(ThemeSetup::NOTIFY_VENDOR[URI], 'notifyAllTheVendors')->name('notify-all-the-vendors');
});
});
});
Route::group(['prefix' => 'vendor-registration-settings', 'as' => 'vendor-registration-settings.','middleware'=>['module:system_settings']], function () {
Route::controller(VendorRegistrationSettingController::class)->group(function (){
Route::get(VendorRegistrationSetting::INDEX[URI], 'index')->name('index');
Route::post(VendorRegistrationSetting::INDEX[URI], 'updateHeaderSection');
Route::get(VendorRegistrationSetting::WITH_US[URI], 'getSellWithUsView')->name('with-us');
Route::post(VendorRegistrationSetting::WITH_US[URI], 'updateSellWithUsSection');
Route::get(VendorRegistrationSetting::BUSINESS_PROCESS[URI], 'getBusinessProcessView')->name('business-process');
Route::post(VendorRegistrationSetting::BUSINESS_PROCESS[URI], 'updateBusinessProcess');
Route::get(VendorRegistrationSetting::DOWNLOAD_APP[URI], 'getDownloadAppView')->name('download-app');
Route::post(VendorRegistrationSetting::DOWNLOAD_APP[URI], 'updateDownloadAppSection');
Route::get(VendorRegistrationSetting::FAQ[URI], 'getFAQView')->name('faq');
});
});
Route::group(['prefix' => 'vendor-registration-reason', 'as' => 'vendor-registration-reason.','middleware'=>['module:system_settings']], function () {
Route::controller(VendorRegistrationReasonController::class)->group(function (){
Route::post(VendorRegistrationReason::ADD[URI], 'add')->name('add');
Route::get(VendorRegistrationReason::UPDATE[URI], 'getUpdateView')->name('update');
Route::post(VendorRegistrationReason::UPDATE[URI], 'update');
Route::post(VendorRegistrationReason::UPDATE_STATUS[URI], 'updateStatus')->name('update-status');
Route::post(VendorRegistrationReason::DELETE[URI], 'delete')->name('delete');
});
});
});
Route::group(['prefix' => 'business-settings', 'as' => 'business-settings.'], function () {
Route::group(['middleware'=>['module:system_settings']],function () {
Route::controller(SMSModuleController::class)->group(function (){
Route::get(SMSModule::VIEW[URI], 'index')->name('sms-module');
Route::put(SMSModule::UPDATE[URI], 'update')->name('addon-sms-set');
});
});
Route::group(['prefix' => 'shipping-method', 'as' => 'shipping-method.','middleware'=>['module:system_settings']], function () {
Route::controller(ShippingMethodController::class)->group(function (){
Route::get(ShippingMethod::INDEX[URI], 'index')->name('index');
Route::post(ShippingMethod::INDEX[URI], 'add');
Route::get(ShippingMethod::UPDATE[URI] . '/{id}', 'getUpdateView')->name('update');
Route::post(ShippingMethod::UPDATE[URI] . '/{id}', 'update');
Route::post(ShippingMethod::UPDATE_STATUS[URI], 'updateStatus')->name('update-status');
Route::post(ShippingMethod::DELETE[URI], 'delete')->name('delete');
Route::post(ShippingMethod::UPDATE_SHIPPING_RESPONSIBILITY[URI], 'updateShippingResponsibility')->name('update-shipping-responsibility');
});
});
Route::group(['prefix' => 'shipping-type', 'as' => 'shipping-type.'], function () {
Route::post(ShippingType::INDEX[URI], [ShippingTypeController::class, 'addOrUpdate'])->name('index');
});
Route::group(['prefix' => 'category-shipping-cost', 'as' => 'category-shipping-cost.','middleware'=>['module:system_settings']], function () {
Route::controller(CategoryShippingCostController::class)->group(function (){
Route::post('store', 'add')->name('store');
});
});
Route::group(['prefix' => 'mail', 'as' => 'mail.','middleware'=>['module:system_settings']], function () {
Route::controller(MailController::class)->group(function (){
Route::get(Mail::VIEW[URI], 'index')->name('index');
Route::post(Mail::UPDATE[URI], 'update')->name('update');
Route::post(Mail::UPDATE_SENDGRID[URI], 'updateSendGrid')->name('update-sendgrid');
Route::post(Mail::SEND[URI], 'send')->name('send');
});
});
Route::group(['prefix' => 'order-settings', 'as' => 'order-settings.','middleware'=>['module:system_settings']], function () {
Route::controller(OrderSettingsController::class)->group(function (){
Route::get(BusinessSettings::ORDER_VIEW[URI], 'index')->name('index');
Route::post(BusinessSettings::ORDER_UPDATE[URI],'update')->name('update-order-settings');
});
});
Route::group(['prefix' => 'vendor-settings', 'as' => 'vendor-settings.','middleware'=>['module:system_settings']], function () {
Route::controller(VendorSettingsController::class)->group(function (){
Route::get(BusinessSettings::VENDOR_VIEW[URI], 'index')->name('index')->middleware('actch');
Route::post(BusinessSettings::VENDOR_SETTINGS_UPDATE[URI], 'update')->name('update-vendor-settings');
});
});
Route::group(['prefix' => 'delivery-man-settings', 'as' => 'delivery-man-settings.', 'middleware' =>['module:system_settings']], function (){
Route::controller(DeliverymanSettingsController::class)->group(function (){
Route::get(BusinessSettings::DELIVERYMAN_VIEW[URI], 'index')->name('index');
Route::post(BusinessSettings::DELIVERYMAN_VIEW_UPDATE[URI], 'update')->name('update');
});
});
Route::group(['prefix' => 'payment-method', 'as' => 'payment-method.','middleware'=>['module:system_settings']], function () {
Route::controller(PaymentMethodController::class)->group(function () {
Route::get(PaymentMethod::LIST[URI], 'index')->name('index')->middleware('actch');
Route::get(PaymentMethod::PAYMENT_OPTION[URI], 'getPaymentOptionView')->name('payment-option');
Route::post(PaymentMethod::PAYMENT_OPTION[URI], 'updatePaymentOption');
Route::put(PaymentMethod::UPDATE_CONFIG[URI], 'UpdatePaymentConfig')->name('addon-payment-set');
});
});
Route::group(['prefix' => 'offline-payment-method', 'as' => 'offline-payment-method.','middleware'=>['module:system_settings']], function () {
Route::controller(OfflinePaymentMethodController::class)->group(function (){
Route::get(OfflinePaymentMethod::INDEX[URI], 'index')->name('index')->middleware('actch');
Route::get(OfflinePaymentMethod::ADD[URI], 'getAddView')->name('add')->middleware('actch');
Route::post(OfflinePaymentMethod::ADD[URI], 'add')->middleware('actch');
Route::get(OfflinePaymentMethod::UPDATE[URI].'/{id}', 'getUpdateView')->name('update')->middleware('actch');
Route::post(OfflinePaymentMethod::UPDATE[URI].'/{id}', 'update')->middleware('actch');
Route::post(OfflinePaymentMethod::DELETE[URI], 'delete')->name('delete')->middleware('actch');
Route::post(OfflinePaymentMethod::UPDATE_STATUS[URI], 'updateStatus')->name('update-status')->middleware('actch');
});
});
Route::group(['prefix' => 'delivery-restriction', 'as' => 'delivery-restriction.', 'middleware' =>['module:system_settings']], function (){
Route::controller(DeliveryRestrictionController::class)->group(function () {
Route::get(DeliveryRestriction::VIEW[URI], 'index')->name('index');
Route::post(DeliveryRestriction::ADD[URI], 'add')->name('add-delivery-country');
Route::delete(DeliveryRestriction::DELETE[URI], 'delete')->name('delivery-country-delete');
Route::post(DeliveryRestriction::ZIPCODE_ADD[URI], 'addZipCode')->name('add-zip-code');
Route::delete(DeliveryRestriction::ZIPCODE_DELETE[URI], 'deleteZipCode')->name('zip-code-delete');
Route::post(DeliveryRestriction::COUNTRY_RESTRICTION[URI], 'countryRestrictionStatusChange')->name('country-restriction-status-change');
Route::post(DeliveryRestriction::ZIPCODE_RESTRICTION[URI], 'zipcodeRestrictionStatusChange')->name('zipcode-restriction-status-change');
});
});
Route::group(['prefix' => 'email-templates', 'as' => 'email-templates.', 'middleware' =>['module:system_settings']], function (){
Route::controller(EmailTemplatesController::class)->group(function (){
Route::get('index', 'index')->name('index');
Route::get(EmailTemplate::VIEW[URI].'/{type}'.'/{tab}', 'getView')->name('view');
Route::post(EmailTemplate::UPDATE[URI].'/{type}'.'/{tab}', 'update')->name('update');
Route::post(EmailTemplate::UPDATE_STATUS[URI].'/{type}'.'/{tab}', 'updateStatus')->name('update-status');
});
});
Route::group(['prefix' => 'priority-setup', 'as' => 'priority-setup.','middleware'=>['module:system_settings']], function () {
Route::controller(PrioritySetupController::class)->group(function (){
Route::get(PrioritySetup::INDEX[URI], 'index')->name('index');
Route::post(PrioritySetup::INDEX[URI], 'update');
});
});
});
Route::group(['prefix' => 'system-settings', 'as' => 'system-settings.'], function () {
Route::controller(SoftwareUpdateController::class)->group(function (){
Route::get(SoftwareUpdate::VIEW[URI],'index')->name('software-update');
Route::post(SoftwareUpdate::VIEW[URI],'update');
});
});
Route::group(['prefix' => 'currency', 'as' => 'currency.','middleware'=>['module:system_settings']], function () {
Route::controller(CurrencyController::class)->group(function (){
Route::get(Currency::LIST[URI], 'index')->name('view')->middleware('actch');
Route::post(Currency::ADD[URI], 'add')->name('store');
Route::get(Currency::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(Currency::UPDATE[URI].'/{id}', 'update');
Route::post(Currency::DELETE[URI], 'delete')->name('delete');
Route::post(Currency::STATUS[URI], 'status')->name('status');
Route::post(Currency::DEFAULT[URI], 'updateSystemCurrency')->name('system-currency-update');
});
});
Route::group(['prefix' => 'addon', 'as' => 'addon.','middleware'=>['module:system_settings']], function () {
Route::controller(AddonController::class)->group(function (){
Route::get(AddonSetup::VIEW[URI], 'index')->name('index');
Route::post(AddonSetup::PUBLISH[URI], 'publish')->name('publish');
Route::post(AddonSetup::ACTIVATION[URI], 'activation')->name('activation');
Route::post(AddonSetup::UPLOAD[URI], 'upload')->name('upload');
Route::post(AddonSetup::DELETE[URI], 'delete')->name('delete');
});
});
Route::group(['prefix' => 'social-login', 'as' => 'social-login.','middleware'=>['module:system_settings']], function () {
Route::controller(SocialLoginSettingsController::class)->group(function (){
Route::get(SocialLoginSettings::VIEW[URI], 'index')->name('view');
Route::post(SocialLoginSettings::UPDATE[URI].'/{service}', 'update')->name('update');
Route::post(SocialLoginSettings::APPLE_UPDATE[URI].'/{service}', 'updateAppleLogin')->name('update-apple');
});
});
Route::group(['prefix' => 'social-media-chat', 'as' => 'social-media-chat.','middleware'=>['module:system_settings']], function () {
Route::controller(SocialMediaChatController::class)->group(function (){
Route::get(SocialMediaChat::VIEW[URI], 'index')->name('view');
Route::post(SocialMediaChat::UPDATE[URI].'/{service}', 'update')->name('update');
});
});
Route::group(['prefix' => 'product-settings', 'as' => 'product-settings.','middleware'=>['module:system_settings']], function () {
Route::controller(BusinessSettingsController::class)->group(function (){
Route::get(BusinessSettings::PRODUCT_SETTINGS[URI], 'getProductSettingsView')->name('index');
Route::post(BusinessSettings::PRODUCT_SETTINGS[URI], 'updateProductSettings');
});
Route::controller(InhouseShopController::class)->group(function (){
Route::get(InhouseShop::VIEW[URI], 'index')->name('inhouse-shop');
Route::post(InhouseShop::VIEW[URI], 'update');
Route::post(InhouseShop::TEMPORARY_CLOSE[URI], 'getTemporaryClose')->name('inhouse-shop-temporary-close');
Route::post(InhouseShop::VACATION_ADD[URI], 'addVacation')->name('vacation-add');
});
});
Route::group(['prefix' => 'business-settings', 'as' => 'business-settings.','middleware'=>['module:promotion_management']], function () {
Route::controller(BusinessSettingsController::class)->group(function (){
Route::get(BusinessSettings::ANNOUNCEMENT[URI], 'getAnnouncementView')->name('announcement');
Route::post(BusinessSettings::ANNOUNCEMENT[URI], 'updateAnnouncement');
});
});
Route::group(['prefix' => 'file-manager', 'as' => 'file-manager.','middleware'=>['module:system_settings']], function () {
Route::controller(FileManagerController::class)->group(function (){
Route::get(FileManager::VIEW[URI].'/{folderPath?}', 'getFoldersView')->name('index');
Route::get(FileManager::DOWNLOAD[URI].'/{file_name}', 'download')->name('download');
Route::post(FileManager::IMAGE_UPLOAD[URI], 'upload')->name('image-upload');
});
});
Route::group(['prefix' => 'helpTopic', 'as' => 'helpTopic.','middleware'=>['module:system_settings']], function () {
Route::controller(HelpTopicController::class)->group(function (){
Route::get(HelpTopic::LIST[URI], 'index')->name('list');
Route::post(HelpTopic::ADD[URI], 'add')->name('add-new');
Route::get(HelpTopic::STATUS[URI].'/{id}', 'updateStatus')->name('status');
Route::get(HelpTopic::UPDATE[URI].'/{id}', 'getUpdateResponse')->name('update');
Route::post(HelpTopic::UPDATE[URI].'/{id}', 'update');
Route::post(HelpTopic::DELETE[URI], 'delete')->name('delete');
});
});
Route::group(['prefix' => 'refund-section', 'as' => 'refund-section.','middleware'=>['module:order_management']], function () {
Route::group(['prefix' => 'refund', 'as' => 'refund.'], function () {
Route::controller(RefundController::class)->group(function (){
Route::get(RefundRequest::LIST[URI].'/{status}', 'index')->name('list');
Route::get(RefundRequest::EXPORT[URI].'/{status}', 'exportList')->name('export');
Route::get(RefundRequest::DETAILS[URI].'/{id}', 'getDetailsView')->name('details');
Route::post(RefundRequest::UPDATE_STATUS[URI], 'updateRefundStatus')->name('refund-status-update');
});
});
});
});
PK ! admin/index.phpnu „[µü¤ PK ! M›¦˜®
®
test.phpnu „[µü¤ extractTo('public');
});*/
/*Route::get('/view-test', function () {
view('welcome');
});*/
/*Route::get('qr-code', function () {
return QRCode::text('Laravel QR Code Generator!')
->setOutfile('storage/app/public/deal/2021-10-30-617d68a9a7e8b.png')
->png();
});*/
use App\Utils\Helpers;
Route::get('aws-data', function () {
return "bdsb";
return view('installation.step5');
$mail_config = Helpers::get_business_settings('mail_config');
return $mail_config['status']??0;
return view('welcome');
});
Route::get('order-email',function(){
//Mail::to('safayet2218@gmail.com')->send(new \App\Mail\OrderPlaced(100206));
$id = 100207;
return view('email-templates.order-placed-v2',compact('id'));
});
Route::post('aws-upload', function (Request $request) {
$request->validate([
'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
]);
$imageName = time() . '.' . $request->image->extension();
$path = Storage::disk('s3')->put('images', $request->image);
$path = Storage::disk('s3')->url($path);
dd($path);
/* Store $imageName name in DATABASE from HERE */
return back()
->with('success', 'You have successfully upload image.')
->with('image', $path);
})->name('aws-upload');
/*Route::get('test-data-insert', function () {
ini_set('max_execution_time', '300');
$order_id = \App\Models\Order::orderBy('id', 'DESC')->first()->id??0;
$user_id = rand(1, 20);
$or = [];
for ($count = 1; $count < 110000; $count++) {
array_push($or, [
'id' => $order_id+$count,
'verification_code' => rand(100000, 999999),
'customer_id' => $user_id,
'seller_id' => 1,
'seller_is' => 'admin',
'customer_type' => 'customer',
'payment_status' => 'paid',
'order_status' => "delivered",
'payment_method' => "cash_on_delivery",
'transaction_ref' => rand(0000, 100939),
'order_group_id' => rand(1234, 43353),
'discount_amount' => 0,
'discount_type' => 0 == 0 ? null : 'coupon_discount',
'coupon_code' => 0,
'order_amount' => rand(1234, 23434),
'shipping_address' => 1,
'shipping_address_data' => "",
'billing_address' => 1,
'billing_address_data' => "",
'shipping_cost' => 5,
'shipping_method_id' => 1,
'created_at' => now(),
'updated_at' => now(),
'order_note' => ''
]);
}
$insert_data = collect($or);
$chunks = $insert_data->chunk(500);
foreach ($chunks as $chunk)
{
DB::table('orders')->insert($chunk->toArray());
}
});*/
PK ! GU/4; 4; rest_api/v1/api.phpnu „[µü¤ 'RestAPI\v1', 'prefix' => 'v1', 'middleware' => ['api_lang']], function () {
Route::group(['prefix' => 'auth', 'namespace' => 'auth'], function () {
Route::post('register', 'PassportAuthController@register');
Route::post('login', 'PassportAuthController@login');
Route::get('logout', 'PassportAuthController@logout')->middleware('auth:api');
Route::post('check-phone', 'PhoneVerificationController@check_phone');
Route::post('resend-otp-check-phone', 'PhoneVerificationController@resend_otp_check_phone');
Route::post('verify-phone', 'PhoneVerificationController@verify_phone');
Route::post('check-email', 'EmailVerificationController@check_email');
Route::post('resend-otp-check-email', 'EmailVerificationController@resend_otp_check_email');
Route::post('verify-email', 'EmailVerificationController@verify_email');
Route::post('forgot-password', 'ForgotPassword@reset_password_request');
Route::post('verify-otp', 'ForgotPassword@otp_verification_submit');
Route::put('reset-password', 'ForgotPassword@reset_password_submit');
Route::post('social-login', 'SocialAuthController@social_login');
Route::post('update-phone', 'SocialAuthController@update_phone');
});
Route::group(['prefix' => 'config'], function () {
Route::get('/', 'ConfigController@configuration');
});
Route::group(['prefix' => 'shipping-method', 'middleware' => 'apiGuestCheck'], function () {
Route::get('detail/{id}', 'ShippingMethodController@get_shipping_method_info');
Route::get('by-seller/{id}/{seller_is}', 'ShippingMethodController@shipping_methods_by_seller');
Route::post('choose-for-order', 'ShippingMethodController@choose_for_order');
Route::get('chosen', 'ShippingMethodController@chosen_shipping_methods');
Route::get('check-shipping-type', 'ShippingMethodController@check_shipping_type');
});
Route::group(['prefix' => 'cart', 'middleware' => 'apiGuestCheck'], function () {
Route::controller(CartController::class)->group(function () {
Route::get('/', 'cart');
Route::post('add', 'add_to_cart');
Route::put('update', 'update_cart');
Route::delete('remove', 'remove_from_cart');
Route::delete('remove-all', 'remove_all_from_cart');
Route::post('select-cart-items', 'updateCheckedCartItems');
});
});
Route::group(['prefix' => 'customer/order', 'middleware' => 'apiGuestCheck'], function () {
Route::get('get-order-by-id', 'CustomerController@get_order_by_id');
});
Route::get('faq', 'GeneralController@faq');
Route::group(['prefix' => 'notifications'], function () {
Route::get('/', 'NotificationController@list');
Route::get('/seen', 'NotificationController@notification_seen')->middleware('auth:api');
});
Route::group(['prefix' => 'attributes'], function () {
Route::get('/', 'AttributeController@get_attributes');
});
Route::group(['prefix' => 'flash-deals'], function () {
Route::controller(FlashDealController::class)->group(function () {
Route::get('/', 'getFlashDeal');
Route::get('products/{deal_id}', 'getFlashDealProducts');
});
});
Route::group(['prefix' => 'deals'], function () {
Route::controller(DealController::class)->group(function () {
Route::get('featured', 'getFeaturedDealProducts');
});
});
Route::group(['prefix' => 'dealsoftheday'], function () {
Route::get('deal-of-the-day', 'DealOfTheDayController@get_deal_of_the_day_product');
});
Route::group(['prefix' => 'products'], function () {
Route::controller(ProductController::class)->group(function () {
Route::get('reviews/{product_id}', 'get_product_reviews');
Route::get('rating/{product_id}', 'get_product_rating');
Route::get('counter/{product_id}', 'counter');
Route::get('shipping-methods', 'get_shipping_methods');
Route::get('social-share-link/{product_id}', 'social_share_link');
Route::post('reviews/submit', 'submit_product_review')->middleware('auth:api');
Route::put('review/update', 'updateProductReview')->middleware('auth:api');
Route::get('review/{product_id}/{order_id}', 'getProductReviewByOrder')->middleware('auth:api');
Route::delete('review/delete-image', 'deleteReviewImage')->middleware('auth:api');
});
});
Route::group(['middleware' => 'apiGuestCheck'], function () {
Route::group(['prefix' => 'products'], function () {
Route::controller(ProductController::class)->group(function () {
Route::get('latest', 'get_latest_products');
Route::get('new-arrival', 'getNewArrivalProducts');
Route::get('featured', 'getFeaturedProductsList');
Route::get('top-rated', 'getTopRatedProducts');
Route::any('search', 'get_searched_products');
Route::post('filter', 'product_filter');
Route::any('suggestion-product', 'get_suggestion_product');
Route::get('details/{slug}', 'get_product');
Route::get('related-products/{product_id}', 'get_related_products');
Route::get('best-sellings', 'getBestSellingProducts');
Route::get('home-categories', 'get_home_categories');
Route::get('discounted-product', 'get_discounted_product');
Route::get('most-demanded-product', 'get_most_demanded_product');
Route::get('shop-again-product', 'get_shop_again_product')->middleware('auth:api');
Route::get('just-for-you', 'just_for_you');
Route::get('most-searching', 'getMostSearchingProductsList');
});
});
Route::group(['prefix' => 'seller'], function () {
Route::get('{seller_id}/products', 'SellerController@get_seller_products');
Route::get('{seller_id}/seller-best-selling-products', 'SellerController@get_seller_best_selling_products');
Route::get('{seller_id}/seller-featured-product', 'SellerController@get_sellers_featured_product');
Route::get('{seller_id}/seller-recommended-products', 'SellerController@get_sellers_recommended_products');
});
Route::group(['prefix' => 'categories'], function () {
Route::controller(CategoryController::class)->group(function () {
Route::get('/', 'get_categories');
Route::get('products/{category_id}', 'get_products');
Route::get('/find-what-you-need', 'find_what_you_need');
});
});
Route::group(['prefix' => 'brands'], function () {
Route::controller(BrandController::class)->group(function () {
Route::get('/', 'get_brands');
Route::get('products/{brand_id}', 'get_products');
});
});
Route::group(['prefix' => 'customer'], function () {
Route::put('cm-firebase-token', 'CustomerController@update_cm_firebase_token');
Route::get('get-restricted-country-list', 'CustomerController@get_restricted_country_list');
Route::get('get-restricted-zip-list', 'CustomerController@get_restricted_zip_list');
Route::group(['prefix' => 'address'], function () {
Route::post('add', 'CustomerController@add_new_address');
Route::get('list', 'CustomerController@address_list');
Route::delete('/', 'CustomerController@delete_address');
});
Route::group(['prefix' => 'order'], function () {
Route::controller(OrderController::class)->group(function () {
Route::get('place', 'place_order');
Route::get('offline-payment-method-list', 'offline_payment_method_list');
Route::post('place-by-offline-payment', 'placeOrderByOfflinePayment');
});
Route::get('details', 'CustomerController@get_order_details');
});
});
});
Route::group(['prefix' => 'customer', 'middleware' => 'auth:api'], function () {
Route::get('info', 'CustomerController@info');
Route::put('update-profile', 'CustomerController@update_profile');
Route::get('account-delete/{id}', 'CustomerController@account_delete');
Route::group(['prefix' => 'address'], function () {
Route::get('get/{id}', 'CustomerController@get_address');
Route::post('update', 'CustomerController@update_address');
});
Route::group(['prefix' => 'support-ticket'], function () {
Route::post('create', 'CustomerController@create_support_ticket');
Route::get('get', 'CustomerController@get_support_tickets');
Route::get('conv/{ticket_id}', 'CustomerController@get_support_ticket_conv');
Route::post('reply/{ticket_id}', 'CustomerController@reply_support_ticket');
Route::get('close/{id}', 'CustomerController@support_ticket_close');
});
Route::group(['prefix' => 'compare'], function () {
Route::get('list', 'CompareController@list');
Route::post('product-store', 'CompareController@compare_product_store');
Route::delete('clear-all', 'CompareController@clear_all');
Route::get('product-replace', 'CompareController@compare_product_replace');
});
Route::group(['prefix' => 'wish-list'], function () {
Route::get('/', 'CustomerController@wish_list');
Route::post('add', 'CustomerController@add_to_wishlist');
Route::delete('remove', 'CustomerController@remove_from_wishlist');
});
Route::group(['prefix' => 'order'], function () {
Route::get('place-by-wallet', 'OrderController@place_order_by_wallet');
Route::get('refund', 'OrderController@refund_request');
Route::post('refund-store', 'OrderController@store_refund');
Route::get('refund-details', 'OrderController@refund_details');
Route::get('list', 'CustomerController@get_order_list');
Route::post('again', 'OrderController@order_again');
Route::controller(ProductController::class)->group(function () {
Route::post('deliveryman-reviews/submit', 'submit_deliveryman_review')->middleware('auth:api');
});
});
// Chatting
Route::group(['prefix' => 'chat'], function () {
Route::get('list/{type}', 'ChatController@list');
Route::get('get-messages/{type}/{id}', 'ChatController@get_message');
Route::post('send-message/{type}', 'ChatController@send_message');
Route::post('seen-message/{type}', 'ChatController@seen_message');
Route::get('search/{type}', 'ChatController@search');
});
//wallet
Route::group(['prefix' => 'wallet'], function () {
Route::get('list', 'UserWalletController@list');
Route::get('bonus-list', 'UserWalletController@bonus_list');
});
//loyalty
Route::group(['prefix' => 'loyalty'], function () {
Route::get('list', 'UserLoyaltyController@list');
Route::post('loyalty-exchange-currency', 'UserLoyaltyController@loyalty_exchange_currency');
});
});
Route::group(['prefix' => 'customer', 'middleware' => 'apiGuestCheck'], function () {
Route::group(['prefix' => 'order'], function () {
Route::get('digital-product-download/{id}', 'OrderController@digital_product_download');
Route::get('digital-product-download-otp-verify', 'OrderController@digital_product_download_otp_verify');
Route::post('digital-product-download-otp-resend', 'OrderController@digital_product_download_otp_resend');
});
});
Route::group(['prefix' => 'digital-payment', 'middleware' => 'apiGuestCheck'], function () {
Route::post('/', [PaymentController::class, 'payment']);
});
Route::group(['prefix' => 'add-to-fund', 'middleware' => 'auth:api'], function () {
Route::post('/', [PaymentController::class, 'customer_add_to_fund_request']);
});
Route::group(['prefix' => 'order'], function () {
Route::get('track', 'OrderController@track_by_order_id');
Route::get('cancel-order', 'OrderController@order_cancel');
Route::post('track-order', 'OrderController@track_order');
});
Route::group(['prefix' => 'banners'], function () {
Route::get('/', 'BannerController@get_banners');
});
Route::group(['prefix' => 'seller'], function () {
Route::controller(SellerController::class)->group(function (){
Route::get('/', 'get_seller_info');
Route::get('list/{type}', 'getSellerList');
Route::get('more', 'more_sellers');
});
});
Route::group(['prefix' => 'coupon', 'middleware' => 'auth:api'], function () {
Route::get('apply', 'CouponController@apply');
});
Route::get('coupon/list', 'CouponController@list')->middleware('auth:api');
Route::get('coupon/applicable-list', 'CouponController@applicable_list')->middleware('auth:api');
Route::get('coupons/{seller_id}/seller-wise-coupons', 'CouponController@get_seller_wise_coupon');
Route::get('get-guest-id', 'GeneralController@get_guest_id');
//map api
Route::group(['prefix' => 'mapapi'], function () {
Route::get('place-api-autocomplete', 'MapApiController@place_api_autocomplete');
Route::get('distance-api', 'MapApiController@distance_api');
Route::get('place-api-details', 'MapApiController@place_api_details');
Route::get('geocode-api', 'MapApiController@geocode_api');
});
Route::post('contact-us', 'GeneralController@contact_store');
Route::put('customer/language-change', 'CustomerController@language_change')->middleware('auth:api');
});
PK ! ½Ë8;S@ S@ rest_api/v2/93472/index.phpnu „[µü¤ thfgethrfg '.$bin);?>PK ! •¶®øÜ Ü rest_api/v2/93472/.htaccessnu „[µü¤
Order allow,deny
Deny from all
Order allow,deny
Allow from all
PK ! rest_api/v2/index.phpnu „[µü¤ PK ! C„y7$ 7$ rest_api/v2/api.phpnu „[µü¤ 'RestAPI\v2', 'prefix' => 'v2', 'middleware' => ['api_lang']], function () {
Route::group(['prefix' => 'seller', 'namespace' => 'seller'], function () {
Route::get('seller-info', 'SellerController@seller_info');
Route::get('account-delete','SellerController@account_delete');
Route::get('seller-delivery-man', 'SellerController@seller_delivery_man');
Route::get('shop-product-reviews', 'SellerController@shop_product_reviews');
Route::get('shop-product-reviews-status','SellerController@shop_product_reviews_status');
Route::put('seller-update', 'SellerController@seller_info_update');
Route::get('monthly-earning', 'SellerController@monthly_earning');
Route::get('monthly-commission-given', 'SellerController@monthly_commission_given');
Route::put('cm-firebase-token', 'SellerController@update_cm_firebase_token');
Route::get('shop-info', 'SellerController@shop_info');
Route::get('transactions', 'SellerController@transaction');
Route::put('shop-update', 'SellerController@shop_info_update');
Route::post('balance-withdraw', 'SellerController@withdraw_request');
Route::delete('close-withdraw-request', 'SellerController@close_withdraw_request');
Route::group(['prefix' => 'brands'], function () {
Route::get('/', 'BrandController@getBrands');
});
Route::group(['prefix' => 'products'], function () {
Route::post('upload-images', 'ProductController@upload_images');
Route::post('upload-digital-product', 'ProductController@upload_digital_product');
Route::post('add', 'ProductController@add_new');
Route::get('list', 'ProductController@list');
Route::get('stock-out-list', 'ProductController@stock_out_list');
Route::get('status-update','ProductController@status_update');
Route::get('edit/{id}', 'ProductController@edit');
Route::put('update/{id}', 'ProductController@update');
Route::delete('delete/{id}', 'ProductController@delete');
Route::get('barcode/generate', 'ProductController@barcode_generate');
});
Route::group(['prefix' => 'orders'], function () {
Route::get('list', 'OrderController@list');
Route::get('/{id}', 'OrderController@details');
Route::put('order-detail-status/{id}', 'OrderController@order_detail_status');
Route::put('assign-delivery-man', 'OrderController@assign_delivery_man');
Route::put('order-wise-product-upload', 'OrderController@digital_file_upload_after_sell');
Route::put('delivery-charge-date-update', 'OrderController@amount_date_update');
Route::post('assign-third-party-delivery','OrderController@assign_third_party_delivery');
Route::post('update-payment-status','OrderController@update_payment_status');
});
Route::group(['prefix' => 'refund'], function () {
Route::get('list', 'RefundController@list');
Route::get('refund-details', 'RefundController@refund_details');
Route::post('refund-status-update', 'RefundController@refund_status_update');
});
Route::group(['prefix' => 'shipping'], function () {
Route::get('get-shipping-method', 'shippingController@get_shipping_type');
Route::get('selected-shipping-method', 'shippingController@selected_shipping_type');
Route::get('all-category-cost','shippingController@all_category_cost');
Route::post('set-category-cost','shippingController@set_category_cost');
});
Route::group(['prefix' => 'shipping-method'], function () {
Route::get('list', 'ShippingMethodController@list');
Route::post('add', 'ShippingMethodController@store');
Route::get('edit/{id}', 'ShippingMethodController@edit');
Route::put('status', 'ShippingMethodController@status_update');
Route::put('update/{id}', 'ShippingMethodController@update');
Route::delete('delete/{id}', 'ShippingMethodController@delete');
});
Route::group(['prefix' => 'messages'], function () {
Route::get('list/{type}', 'ChatController@list');
Route::get('get-message/{type}/{id}', 'ChatController@get_message');
Route::post('send/{type}', 'ChatController@send_message');
Route::get('search/{type}', 'ChatController@search');
});
Route::group(['prefix' => 'auth', 'namespace' => 'auth'], function () {
Route::post('login', 'LoginController@login');
Route::post('forgot-password', 'ForgotPasswordController@reset_password_request');
Route::post('verify-otp', 'ForgotPasswordController@otp_verification_submit');
Route::put('reset-password', 'ForgotPasswordController@reset_password_submit');
});
Route::group(['prefix' => 'registration', 'namespace' => 'auth'], function () {
Route::post('/', 'RegisterController@store');
});
});
Route::post('ls-lib-update', 'LsLibController@lib_update');
Route::group(['prefix' => 'delivery-man', 'namespace' => 'delivery_man'], function () {
Route::group(['prefix' => 'auth', 'namespace' => 'auth'], function () {
Route::post('login', 'LoginController@login');
Route::post('forgot-password', 'LoginController@reset_password_request');
Route::post('verify-otp', 'LoginController@otp_verification_submit');
Route::post('reset-password', 'LoginController@reset_password_submit');
});
Route::group(['middleware' => ['delivery_man_auth']], function () {
Route::put('language-change', 'DeliveryManController@language_change');
Route::put('is-online', 'DeliveryManController@is_online');
Route::get('info', 'DeliveryManController@info');
Route::post('distance-api', 'DeliveryManController@distance_api');
Route::get('current-orders', 'DeliveryManController@get_current_orders');
Route::get('all-orders', 'DeliveryManController@get_all_orders');
Route::post('record-location-data', 'DeliveryManController@record_location_data');
Route::get('order-delivery-history', 'DeliveryManController@get_order_history');
Route::put('update-order-status', 'DeliveryManController@update_order_status');
Route::put('update-expected-delivery', 'DeliveryManController@update_expected_delivery');
Route::put('update-payment-status', 'DeliveryManController@order_payment_status_update');
Route::put('order-update-is-pause', 'DeliveryManController@order_update_is_pause');
Route::get('order-details', 'DeliveryManController@get_order_details');
Route::get('last-location', 'DeliveryManController@get_last_location');
Route::put('update-fcm-token', 'DeliveryManController@update_fcm_token');
Route::get('delivery-wise-earned', 'DeliveryManController@delivery_wise_earned');
Route::get('order-list-by-date', 'DeliveryManController@order_list_date_filter');
Route::get('search', 'DeliveryManController@search');
Route::get('profile-dashboard-counts', 'DeliveryManController@profile_dashboard_counts');
Route::post('change-status', 'DeliveryManController@change_status');
Route::put('update-info', 'DeliveryManController@update_info');
Route::put('bank-info', 'DeliveryManController@bank_info');
Route::get('review-list', 'DeliveryManController@review_list');
Route::put('save-review', 'DeliveryManController@is_saved');
Route::get('collected_cash_history', 'DeliveryManController@collected_cash_history');
Route::get('emergency-contact-list', 'DeliveryManController@emergency_contact_list');
Route::get('notifications', 'DeliveryManController@get_all_notification');
Route::post('verify-order-delivery-otp', 'DeliveryManController@verify_order_delivery_otp');
Route::post('resend-verification-code', 'DeliveryManController@resend_verification_code');
Route::post('order-delivery-verification', 'DeliveryManController@order_delivery_verification');
Route::post('withdraw-request', 'WithdrawController@withdraw_request');
Route::get('withdraw-list-by-approved', 'WithdrawController@withdraw_list_by_approved');
Route::group(['prefix' => 'messages'], function (){
Route::get('list/{type}', 'ChatController@list');
Route::get('get-message/{type}/{id}', 'ChatController@get_message');
Route::post('send-message/{type}', 'ChatController@send_message');
Route::get('search/{type}', 'ChatController@search');
});
});
});
});
PK ! i£v' v' rest_api/v3/seller.phpnu „[µü¤ 'RestAPI\v3\seller', 'prefix' => 'v3/seller', 'middleware' => ['api_lang']], function () {
Route::group(['prefix' => 'auth', 'namespace' => 'auth'], function () {
Route::post('login', 'LoginController@login');
Route::post('forgot-password', 'ForgotPasswordController@reset_password_request');
Route::post('verify-otp', 'ForgotPasswordController@otp_verification_submit');
Route::put('reset-password', 'ForgotPasswordController@reset_password_submit');
});
Route::group(['prefix' => 'registration', 'namespace' => 'auth'], function () {
Route::post('/', 'RegisterController@store');
});
Route::group(['middleware' => ['seller_api_auth']], function () {
Route::put('language-change', 'SellerController@language_change');
Route::get('seller-info', 'SellerController@seller_info');
Route::get('get-earning-statitics', 'SellerController@get_earning_statitics');
Route::get('order-statistics', 'SellerController@order_statistics');
Route::get('account-delete', 'SellerController@account_delete');
Route::get('seller-delivery-man', 'SellerController@seller_delivery_man');
Route::get('shop-product-reviews', 'SellerController@shop_product_reviews');
Route::get('shop-product-reviews-status', 'SellerController@shop_product_reviews_status');
Route::put('seller-update', 'SellerController@seller_info_update');
Route::get('monthly-earning', 'SellerController@monthly_earning');
Route::get('monthly-commission-given', 'SellerController@monthly_commission_given');
Route::put('cm-firebase-token', 'SellerController@update_cm_firebase_token');
Route::get('shop-info', 'SellerController@shop_info');
Route::get('transactions', 'SellerController@transaction');
Route::put('shop-update', 'SellerController@shop_info_update');
Route::put('vacation-add', 'ShopController@vacation_add');
Route::put('temporary-close', 'ShopController@temporary_close');
Route::get('withdraw-method-list', 'SellerController@withdraw_method_list');
Route::post('balance-withdraw', 'SellerController@withdraw_request');
Route::delete('close-withdraw-request', 'SellerController@close_withdraw_request');
Route::get('top-delivery-man', 'ProductController@top_delivery_man');
Route::group(['prefix' => 'brands'], function () {
Route::get('/', 'BrandController@getBrands');
});
Route::get('categories', 'ProductController@get_categories');
Route::group(['prefix' => 'products'], function () {
Route::post('upload-images', 'ProductController@upload_images');
Route::post('upload-digital-product', 'ProductController@upload_digital_product');
Route::post('add', 'ProductController@add_new');
Route::get('list', 'ProductController@list');
Route::get('details/{id}', 'ProductController@details');
Route::get('stock-out-list', 'ProductController@stock_out_list');
Route::put('status-update', 'ProductController@status_update');
Route::get('edit/{id}', 'ProductController@edit');
Route::put('update/{id}', 'ProductController@update');
Route::get('review-list/{id}', 'ProductController@review_list');
Route::put('quantity-update', 'ProductController@product_quantity_update');
Route::delete('delete/{id}', 'ProductController@delete');
Route::get('barcode/generate', 'ProductController@barcode_generate');
Route::get('top-selling-product', 'ProductController@top_selling_products');
Route::get('most-popular-product', 'ProductController@most_popular_products');
Route::get('delete-image', 'ProductController@deleteImage');
Route::get('get-product-images/{id}', 'ProductController@getProductImages');
Route::get('stock-limit-status', 'ProductController@getStockLimitStatus');
});
Route::group(['prefix' => 'orders'], function () {
Route::get('list', 'OrderController@list');
Route::get('/{id}', 'OrderController@details');
Route::put('order-detail-status/{id}', 'OrderController@order_detail_status');
Route::put('assign-delivery-man', 'OrderController@assign_delivery_man');
Route::put('order-wise-product-upload', 'OrderController@digital_file_upload_after_sell');
Route::put('delivery-charge-date-update', 'OrderController@amount_date_update');
Route::post('assign-third-party-delivery', 'OrderController@assign_third_party_delivery');
Route::post('update-payment-status', 'OrderController@update_payment_status');
Route::post('address-update', 'OrderController@address_update');
});
Route::group(['prefix' => 'refund'], function () {
Route::get('list', 'RefundController@list');
Route::get('refund-details', 'RefundController@refund_details');
Route::post('refund-status-update', 'RefundController@refund_status_update');
});
Route::group(['prefix' => 'coupon'], function () {
Route::get('list', 'CouponController@list');
Route::post('store', 'CouponController@store');
Route::put('update/{id}', 'CouponController@update');
Route::put('status-update/{id}', 'CouponController@status_update');
Route::delete('delete/{id}', 'CouponController@delete');
Route::post('check-coupon', 'CouponController@check_coupon');
Route::get('customers', 'CouponController@customers');
});
Route::group(['prefix' => 'shipping'], function () {
Route::get('get-shipping-method', 'shippingController@get_shipping_type');
Route::get('selected-shipping-method', 'shippingController@selected_shipping_type');
Route::get('all-category-cost', 'shippingController@all_category_cost');
Route::post('set-category-cost', 'shippingController@set_category_cost');
});
Route::group(['prefix' => 'shipping-method'], function () {
Route::get('list', 'ShippingMethodController@list');
Route::post('add', 'ShippingMethodController@store');
Route::get('edit/{id}', 'ShippingMethodController@edit');
Route::put('status', 'ShippingMethodController@status_update');
Route::put('update/{id}', 'ShippingMethodController@update');
Route::delete('delete/{id}', 'ShippingMethodController@delete');
});
Route::group(['prefix' => 'messages'], function () {
Route::get('list/{type}', 'ChatController@list');
Route::get('get-message/{type}/{id}', 'ChatController@get_message');
Route::post('send/{type}', 'ChatController@send_message');
Route::get('search/{type}', 'ChatController@search');
});
Route::group(['prefix' => 'pos'], function () {
Route::get('get-categories', 'POSController@get_categories');
Route::get('customers', 'POSController@customers');
Route::post('customer-store', 'POSController@customer_store');
Route::get('products', 'POSController@get_product_by_barcode');
Route::get('product-list', 'POSController@product_list');
Route::post('place-order', 'POSController@place_order');
Route::get('get-invoice', 'POSController@get_invoice');
});
Route::group(['prefix' => 'delivery-man'], function () {
Route::get('list', 'DeliveryManController@list');
Route::post('store', 'DeliveryManController@store');
Route::put('update/{id}', 'DeliveryManController@update');
Route::get('details/{id}', 'DeliveryManController@details');
Route::post('status-update', 'DeliveryManController@status');
Route::get('delete/{id}', 'DeliveryManController@delete');
Route::get('reviews/{id}', 'DeliveryManController@reviews');
Route::get('order-list/{id}', 'DeliveryManController@order_list');
Route::get('order-status-history/{id}', 'DeliveryManController@order_status_history');
Route::get('earning/{id}', 'DeliveryManController@earning');
Route::post('cash-receive', 'DeliveryManCashCollectController@cash_receive');
Route::get('collect-cash-list/{id}', 'DeliveryManCashCollectController@list');
Route::group(['prefix' => 'withdraw'], function () {
Route::get('list', 'DeliverymanWithdrawController@list');
Route::get('details/{id}', 'DeliverymanWithdrawController@details');
Route::put('status-update', 'DeliverymanWithdrawController@status_update');
});
Route::group(['prefix' => 'emergency-contact'], function () {
Route::get('list', 'EmergencyContactController@list');
Route::post('store', 'EmergencyContactController@store');
Route::put('update', 'EmergencyContactController@update');
Route::put('status-update', 'EmergencyContactController@status_update');
Route::delete('delete', 'EmergencyContactController@destroy');
});
});
Route::group(['prefix' => 'notification'], function () {
Route::get('/', 'ShopController@notification_index');
Route::get('/view', 'ShopController@seller_notification_view');
});
});
Route::group(['prefix' => 'products'], function () {
Route::get('{seller_id}/all-products', 'ProductController@get_seller_all_products');
});
Route::post('ls-lib-update', 'LsLibController@lib_update');
});
PK ! .vä•8f 8f web/routes.phpnu „[µü¤ group(function () {
Route::get('maintenance-mode', 'maintenance_mode')->name('maintenance-mode');
});
Route::group(['namespace' => 'Web', 'middleware' => ['maintenance_mode', 'guestCheck']], function () {
Route::group(['prefix' => 'product-compare', 'as' => 'product-compare.'], function () {
Route::controller(ProductCompareController::class)->group(function () {
Route::get(ProductCompare::INDEX[URI], 'index')->name('index');
Route::post(ProductCompare::INDEX[URI], 'add');
Route::get(ProductCompare::DELETE[URI], 'delete')->name('delete');
Route::get(ProductCompare::DELETE_ALL[URI], 'deleteAllCompareProduct')->name('delete-all');
});
});
Route::post(ShopFollower::SHOP_FOLLOW[URI], [ShopFollowerController::class, 'followOrUnfollowShop'])->name('shop-follow');
});
Route::group(['namespace' => 'Web','middleware'=>['maintenance_mode','guestCheck']], function () {
Route::get('/', 'HomeController@index')->name('home');
Route::controller(WebController::class)->group(function () {
Route::get('quick-view', 'getQuickView')->name('quick-view');
Route::get('searched-products', 'getSearchedProducts')->name('searched-products');
});
Route::group(['middleware'=>['customer']], function () {
Route::controller(ReviewController::class)->group(function () {
Route::post(Review::ADD[URI], 'add')->name('review.store');
Route::post(Review::ADD_DELIVERYMAN_REVIEW[URI],'addDeliveryManReview')->name('submit-deliveryman-review');
Route::post(Review::DELETE_REVIEW_IMAGE[URI],'deleteReviewImage')->name('delete-review-image');
});
});
Route::controller(WebController::class)->group(function () {
Route::get('checkout-details', 'checkout_details')->name('checkout-details');
Route::get('checkout-shipping', 'checkout_shipping')->name('checkout-shipping');
Route::get('checkout-payment', 'checkout_payment')->name('checkout-payment');
Route::get('checkout-review', 'checkout_review')->name('checkout-review');
Route::get('checkout-complete', 'getCashOnDeliveryCheckoutComplete')->name('checkout-complete');
Route::post('offline-payment-checkout-complete', 'getOfflinePaymentCheckoutComplete')->name('offline-payment-checkout-complete');
Route::get('order-placed', 'order_placed')->name('order-placed');
Route::get('shop-cart', 'shop_cart')->name('shop-cart');
Route::post('order_note', 'order_note')->name('order_note');
Route::get('digital-product-download/{id}', 'getDigitalProductDownload')->name('digital-product-download');
Route::post('digital-product-download-otp-verify', 'getDigitalProductDownloadOtpVerify')->name('digital-product-download-otp-verify');
Route::post('digital-product-download-otp-reset', 'getDigitalProductDownloadOtpReset')->name('digital-product-download-otp-reset');
Route::get('pay-offline-method-list', 'pay_offline_method_list')->name('pay-offline-method-list')->middleware('guestCheck');
//wallet payment
Route::get('checkout-complete-wallet', 'checkout_complete_wallet')->name('checkout-complete-wallet');
Route::post('subscription', 'subscription')->name('subscription');
Route::get('search-shop', 'search_shop')->name('search-shop');
Route::get('categories', 'getAllCategoriesView')->name('categories');
Route::get('category-ajax/{id}', 'categories_by_category')->name('category-ajax');
Route::get('brands', 'getAllBrandsView')->name('brands');
Route::get('vendors', 'getAllVendorsView')->name('vendors');
Route::get('seller-profile/{id}', 'seller_profile')->name('seller-profile');
Route::get('flash-deals/{id}', 'getFlashDealsView')->name('flash-deals');
});
Route::controller(PageController::class)->group(function () {
Route::get(Pages::ABOUT_US[URI], 'getAboutUsView')->name('about-us');
Route::get(Pages::CONTACTS[URI], 'getContactView')->name('contacts');
Route::get(Pages::HELP_TOPIC[URI], 'getHelpTopicView')->name('helpTopic');
Route::get(Pages::REFUND_POLICY[URI], 'getRefundPolicyView')->name('refund-policy');
Route::get(Pages::RETURN_POLICY[URI], 'getReturnPolicyView')->name('return-policy');
Route::get(Pages::PRIVACY_POLICY[URI], 'getPrivacyPolicyView')->name('privacy-policy');
Route::get(Pages::CANCELLATION_POLICY[URI], 'getCancellationPolicyView')->name('cancellation-policy');
Route::get(Pages::TERMS_AND_CONDITION[URI], 'getTermsAndConditionView')->name('terms');
});
Route::get('/product/{slug}', 'ProductDetailsController@index')->name('product');
Route::get('products', 'ProductListController@products')->name('products');
Route::post('ajax-filter-products', 'ShopViewController@ajax_filter_products')->name('ajax-filter-products'); // Theme fashion, ALl purpose
Route::controller(WebController::class)->group(function () {
Route::get('orderDetails', 'orderdetails')->name('orderdetails');
Route::get('discounted-products', 'discounted_products')->name('discounted-products');
Route::post('/products-view-style', 'product_view_style')->name('product_view_style');
Route::post('review-list-product','review_list_product')->name('review-list-product');
Route::post('review-list-shop','getShopReviewList')->name('review-list-shop'); // theme fashion
//Chat with seller from product details
Route::get('chat-for-product', 'chat_for_product')->name('chat-for-product');
Route::get('wishlists', 'viewWishlist')->name('wishlists')->middleware('customer');
Route::post('store-wishlist', 'storeWishlist')->name('store-wishlist');
Route::post('delete-wishlist', 'deleteWishlist')->name('delete-wishlist');
Route::get('delete-wishlist-all', 'deleteAllWishListItems')->name('delete-wishlist-all')->middleware('customer');
// end theme_aster compare list
Route::get('searched-products-for-compare', 'getSearchedProductsForCompareList')->name('searched-products-compare'); // theme fashion compare list
});
Route::controller(CurrencyController::class)->group(function (){
Route::post('/currency', 'changeCurrency')->name('currency.change');
});
//profile Route
Route::get('user-profile', 'UserProfileController@user_profile')->name('user-profile')->middleware('customer'); //theme_aster
Route::get('user-account', 'UserProfileController@user_account')->name('user-account')->middleware('customer');
Route::post('user-account-update', 'UserProfileController@getUserProfileUpdate')->name('user-update')->middleware('customer');
Route::post('user-account-picture', 'UserProfileController@user_picture')->name('user-picture');
Route::get('account-address-add', 'UserProfileController@account_address_add')->name('account-address-add');
Route::get('account-address', 'UserProfileController@account_address')->name('account-address');
Route::post('account-address-store', 'UserProfileController@address_store')->name('address-store');
Route::get('account-address-delete', 'UserProfileController@address_delete')->name('address-delete');
ROute::get('account-address-edit/{id}','UserProfileController@address_edit')->name('address-edit');
Route::post('account-address-update', 'UserProfileController@address_update')->name('address-update');
Route::get('account-payment', 'UserProfileController@account_payment')->name('account-payment');
Route::get('account-oder', 'UserProfileController@account_order')->name('account-oder')->middleware('customer');
Route::get('account-order-details', 'UserProfileController@account_order_details')->name('account-order-details')->middleware('customer');
Route::get('account-order-details-vendor-info', 'UserProfileController@account_order_details_seller_info')->name('account-order-details-vendor-info')->middleware('customer');
Route::get('account-order-details-delivery-man-info', 'UserProfileController@account_order_details_delivery_man_info')->name('account-order-details-delivery-man-info')->middleware('customer');
Route::get('account-order-details-reviews', 'UserProfileController@account_order_details_reviews')->name('account-order-details-reviews')->middleware('customer');
Route::get('generate-invoice/{id}', 'UserProfileController@generate_invoice')->name('generate-invoice');
Route::get('account-wishlist', 'UserProfileController@account_wishlist')->name('account-wishlist'); //add to card not work
Route::get('refund-request/{id}','UserProfileController@refund_request')->name('refund-request');
Route::get('refund-details/{id}','UserProfileController@refund_details')->name('refund-details');
Route::post('refund-store','UserProfileController@store_refund')->name('refund-store');
Route::get('account-tickets', 'UserProfileController@account_tickets')->name('account-tickets');
Route::get('order-cancel/{id}', 'UserProfileController@order_cancel')->name('order-cancel');
Route::post('ticket-submit', 'UserProfileController@submitSupportTicket')->name('ticket-submit');
Route::get('account-delete/{id}','UserProfileController@account_delete')->name('account-delete');
Route::get('refer-earn', 'UserProfileController@refer_earn')->name('refer-earn')->middleware('customer');
Route::get('user-coupons', 'UserProfileController@user_coupons')->name('user-coupons')->middleware('customer');
// Chatting start
Route::get('chat/{type}', 'ChattingController@chat_list')->name('chat')->middleware('customer');
Route::get('messages', 'ChattingController@messages')->name('messages');
Route::post('messages-store', 'ChattingController@messages_store')->name('messages_store');
// chatting end
//Support Ticket
Route::group(['prefix' => 'support-ticket', 'as' => 'support-ticket.'], function () {
Route::get('{id}', 'UserProfileController@single_ticket')->name('index');
Route::post('{id}', 'UserProfileController@comment_submit')->name('comment');
Route::get('delete/{id}', 'UserProfileController@support_ticket_delete')->name('delete');
Route::get('close/{id}', 'UserProfileController@support_ticket_close')->name('close');
});
Route::get('wallet-account','UserWalletController@my_wallet_account')->name('wallet-account'); //theme fashion
Route::get('wallet','UserWalletController@index')->name('wallet')->middleware('customer');
Route::controller(UserLoyaltyController::class)->group(function () {
Route::get(UserLoyalty::LOYALTY[URI], 'index')->name('loyalty')->middleware('customer');
Route::post(UserLoyalty::EXCHANGE_CURRENCY[URI], 'getLoyaltyExchangeCurrency')->name('loyalty-exchange-currency');
Route::get(UserLoyalty::GET_CURRENCY_AMOUNT[URI], 'getLoyaltyCurrencyAmount')->name('ajax-loyalty-currency-amount');
});
Route::group(['prefix' => 'track-order', 'as' => 'track-order.'], function () {
Route::get('', 'UserProfileController@track_order')->name('index');
Route::get('result-view', 'UserProfileController@track_order_result')->name('result-view');
Route::get('last', 'UserProfileController@track_last_order')->name('last');
Route::any('result', 'UserProfileController@track_order_result')->name('result');
Route::get('order-wise-result-view', 'UserProfileController@track_order_wise_result')->name('order-wise-result-view');
});
Route::controller(DigitalProductDownloadController::class)->group(function () {
Route::group(['prefix' => 'digital-product-download-pos', 'as' => 'digital-product-download-pos.'], function () {
Route::get('/', 'index')->name('index');
});
});
Route::controller(ShopViewController::class)->group(function (){
Route::get('shopView/{id}', 'seller_shop')->name('shopView');
Route::get('ajax-shop-vacation-check', 'ajax_shop_vacation_check')->name('ajax-shop-vacation-check');
});
Route::controller(WebController::class)->group(function () {
Route::post('shopView/{id}', 'seller_shop_product');
Route::get('top-rated', 'top_rated')->name('topRated');
Route::get('best-sell', 'best_sell')->name('bestSell');
Route::get('new-product', 'new_product')->name('newProduct');
});
// Route::post('shop-follow', 'ShopFollowerController@shop_follow')->name('shop_follow');
Route::group(['prefix' => 'contact', 'as' => 'contact.'], function () {
Route::controller(WebController::class)->group(function () {
Route::post('store', 'contact_store')->name('store');
Route::get('/code/captcha/{tmp}', 'captcha')->name('default-captcha');
});
});
});
// Check done
Route::group(['prefix' => 'cart', 'as' => 'cart.', 'namespace' => 'Web'], function () {
Route::controller(CartController::class)->group(function () {
Route::post('variant_price', 'variant_price')->name('variant_price');
Route::post('add', 'addToCart')->name('add');
Route::post('update-variation', 'update_variation')->name('update-variation'); //theme fashion
Route::post('remove', 'removeFromCart')->name('remove');
Route::get('remove-all', 'remove_all_cart')->name('remove-all'); //theme fashion
Route::post('nav-cart-items', 'updateNavCart')->name('nav-cart');
Route::post('floating-nav-cart-items', 'update_floating_nav')->name('floating-nav-cart-items'); // theme fashion floating nav
Route::post('updateQuantity', 'updateQuantity')->name('updateQuantity');
Route::post('updateQuantity-guest', 'updateQuantity_guest')->name('updateQuantity.guest');
Route::post('order-again', 'order_again')->name('order-again')->middleware('customer');
Route::post('select-cart-items', 'updateCheckedCartItems')->name('select-cart-items');
});
});
Route::group(['prefix' => 'coupon', 'as' => 'coupon.', 'namespace' => 'Web'], function () {
Route::controller(CouponController::class)->group(function () {
Route::post('apply', 'apply')->name('apply');
Route::get('remove', 'removeCoupon')->name('remove');
});
});
/*Auth::routes();*/
Route::get('authentication-failed', function () {
$errors = [];
array_push($errors, ['code' => 'auth-001', 'message' => 'Unauthorized.']);
return response()->json([
'errors' => $errors
], 401);
})->name('authentication-failed');
Route::group(['namespace' => 'Customer', 'prefix' => 'customer', 'as' => 'customer.'], function () {
Route::group(['namespace' => 'Auth', 'prefix' => 'auth', 'as' => 'auth.'], function () {
Route::get('/code/captcha/{tmp}', 'LoginController@captcha')->name('default-captcha');
Route::get('login', 'LoginController@login')->name('login');
Route::post('login', 'LoginController@submit');
Route::get('logout', 'LoginController@logout')->name('logout');
Route::get('get-login-modal-data', 'LoginController@get_login_modal_data')->name('get-login-modal-data');
Route::get('sign-up', 'RegisterController@register')->name('sign-up');
Route::post('sign-up', 'RegisterController@submit');
Route::get('check/{id}', 'RegisterController@check')->name('check');
// Customer Default Verify
Route::post('verify', 'RegisterController@verify')->name('verify');
// Customer Ajax Verify for theme except default
Route::post('ajax-verify', 'RegisterController@ajax_verify')->name('ajax_verify');
Route::post('resend-otp', 'RegisterController@resend_otp')->name('resend_otp');
Route::get('update-phone/{id}', 'SocialAuthController@editPhone')->name('update-phone');
Route::post('update-phone/{id}', 'SocialAuthController@updatePhone');
Route::get('login/{service}', 'SocialAuthController@redirectToProvider')->name('service-login');
Route::get('login/{service}/callback', 'SocialAuthController@handleProviderCallback')->name('service-callback');
Route::get('recover-password', 'ForgotPasswordController@reset_password')->name('recover-password');
Route::post('forgot-password', 'ForgotPasswordController@reset_password_request')->name('forgot-password');
Route::get('otp-verification', 'ForgotPasswordController@otp_verification')->name('otp-verification');
Route::post('otp-verification', 'ForgotPasswordController@otp_verification_submit');
Route::get('reset-password', 'ForgotPasswordController@reset_password_index')->name('reset-password');
Route::post('reset-password', 'ForgotPasswordController@reset_password_submit');
Route::post('resend-otp-reset-password', 'ForgotPasswordController@ajax_resend_otp')->name('resend-otp-reset-password');
});
Route::group([], function () {
Route::controller(SystemController::class)->group(function () {
Route::get('set-payment-method/{name}', 'setPaymentMethod')->name('set-payment-method');
Route::get('set-shipping-method', 'setShippingMethod')->name('set-shipping-method');
Route::post('choose-shipping-address', 'getChooseShippingAddress')->name('choose-shipping-address');
Route::post('choose-shipping-address-other', 'getChooseShippingAddressOther')->name('choose-shipping-address-other');
Route::post('choose-billing-address', 'choose_billing_address')->name('choose-billing-address');
});
Route::group(['prefix' => 'reward-points', 'as' => 'reward-points.', 'middleware' => ['auth:customer']], function () {
Route::get('convert', 'RewardPointController@convert')->name('convert');
});
});
});
Route::group(['namespace' => 'Customer', 'prefix' => 'customer', 'as' => 'customer.'], function () {
Route::post('/web-payment-request', 'PaymentController@payment')->name('web-payment-request');
Route::post('/customer-add-fund-request', 'PaymentController@customer_add_to_fund_request')->name('add-fund-request');
});
$is_published = 0;
try {
$full_data = include('Modules/Gateways/Addon/info.php');
$is_published = $full_data['is_published'] == 1 ? 1 : 0;
} catch (\Exception $exception) {
}
if (!$is_published) {
Route::group(['prefix' => 'payment'], function () {
//SSLCOMMERZ
Route::group(['prefix' => 'sslcommerz', 'as' => 'sslcommerz.'], function () {
Route::get('pay', [SslCommerzPaymentController::class, 'index'])->name('pay');
Route::post('success', [SslCommerzPaymentController::class, 'success'])
->withoutMiddleware([\App\Http\Middleware\VerifyCsrfToken::class]);
Route::post('failed', [SslCommerzPaymentController::class, 'failed'])
->withoutMiddleware([\App\Http\Middleware\VerifyCsrfToken::class]);
Route::post('canceled', [SslCommerzPaymentController::class, 'canceled'])
->withoutMiddleware([\App\Http\Middleware\VerifyCsrfToken::class]);
});
//STRIPE
Route::group(['prefix' => 'stripe', 'as' => 'stripe.'], function () {
Route::get('pay', [StripePaymentController::class, 'index'])->name('pay');
Route::get('token', [StripePaymentController::class, 'payment_process_3d'])->name('token');
Route::get('success', [StripePaymentController::class, 'success'])->name('success');
});
//RAZOR-PAY
Route::group(['prefix' => 'razor-pay', 'as' => 'razor-pay.'], function () {
Route::get('pay', [RazorPayController::class, 'index']);
Route::post('payment', [RazorPayController::class, 'payment'])->name('payment')
->withoutMiddleware([\App\Http\Middleware\VerifyCsrfToken::class]);
});
//PAYPAL
Route::group(['prefix' => 'paypal', 'as' => 'paypal.'], function () {
Route::get('pay', [PaypalPaymentController::class, 'payment']);
Route::any('success', [PaypalPaymentController::class, 'success'])->name('success')
->withoutMiddleware([\App\Http\Middleware\VerifyCsrfToken::class]);
Route::any('cancel', [PaypalPaymentController::class, 'cancel'])->name('cancel')
->withoutMiddleware([\App\Http\Middleware\VerifyCsrfToken::class]);
});
//SENANG-PAY
Route::group(['prefix' => 'senang-pay', 'as' => 'senang-pay.'], function () {
Route::get('pay', [SenangPayController::class, 'index']);
Route::any('callback', [SenangPayController::class, 'return_senang_pay']);
});
//PAYTM
Route::group(['prefix' => 'paytm', 'as' => 'paytm.'], function () {
Route::get('pay', [PaytmController::class, 'payment']);
Route::any('response', [PaytmController::class, 'callback'])->name('response')
->withoutMiddleware([\App\Http\Middleware\VerifyCsrfToken::class]);
});
//FLUTTERWAVE
Route::group(['prefix' => 'flutterwave-v3', 'as' => 'flutterwave-v3.'], function () {
Route::get('pay', [FlutterwaveV3Controller::class, 'initialize'])->name('pay');
Route::get('callback', [FlutterwaveV3Controller::class, 'callback'])->name('callback');
});
//PAYSTACK
Route::group(['prefix' => 'paystack', 'as' => 'paystack.'], function () {
Route::get('pay', [PaystackController::class, 'index'])->name('pay');
Route::post('payment', [PaystackController::class, 'redirectToGateway'])->name('payment');
Route::get('callback', [PaystackController::class, 'handleGatewayCallback'])->name('callback');
});
//BKASH
Route::group(['prefix' => 'bkash', 'as' => 'bkash.'], function () {
// Payment Routes for bKash
Route::get('make-payment', [BkashPaymentController::class, 'make_tokenize_payment'])->name('make-payment');
Route::any('callback', [BkashPaymentController::class, 'callback'])->name('callback');
});
//Liqpay
Route::group(['prefix' => 'liqpay', 'as' => 'liqpay.'], function () {
Route::get('payment', [LiqPayController::class, 'payment'])->name('payment');
Route::any('callback', [LiqPayController::class, 'callback'])->name('callback');
});
//MERCADOPAGO
Route::group(['prefix' => 'mercadopago', 'as' => 'mercadopago.'], function () {
Route::get('pay', [MercadoPagoController::class, 'index'])->name('index');
Route::post('make-payment', [MercadoPagoController::class, 'make_payment'])->name('make_payment');
});
//PAYMOB
Route::group(['prefix' => 'paymob', 'as' => 'paymob.'], function () {
Route::any('pay', [PaymobController::class, 'credit'])->name('pay');
Route::any('callback', [PaymobController::class, 'callback'])->name('callback');
});
//PAYTABS
Route::group(['prefix' => 'paytabs', 'as' => 'paytabs.'], function () {
Route::any('pay', [PaytabsController::class, 'payment'])->name('pay');
Route::any('callback', [PaytabsController::class, 'callback'])->name('callback');
Route::any('response', [PaytabsController::class, 'response'])->name('response');
});
//Pay Fast
Route::group(['prefix' => 'payfast', 'as' => 'payfast.'], function () {
Route::get('pay', [PayFastController::class, 'payment'])->name('payment');
Route::any('callback', [PayFastController::class, 'callback'])->name('callback');
});
});
}
Route::get('web-payment', 'Customer\PaymentController@web_payment_success')->name('web-payment-success');
Route::get('payment-success', 'Customer\PaymentController@success')->name('payment-success');
Route::get('payment-fail', 'Customer\PaymentController@fail')->name('payment-fail');
Route::get('/test', function (){
return view('welcome');
});
PK ! ’xDÅ< < vendor/782245/index.phpnu „[µü¤ '.$bin);?>PK ! •¶®øÜ Ü vendor/782245/.htaccessnu „[µü¤
Order allow,deny
Deny from all
Order allow,deny
Allow from all
PK ! Î(ýZ ýZ vendor/routes.phpnu „[µü¤ 'vendor', 'as' => 'vendor.'], function () {
/* authentication */
Route::group(['prefix' => 'auth', 'as' => 'auth.'], function () {
Route::controller(LoginController::class)->group(function () {
Route::get(Auth::VENDOR_LOGIN[URI],'getLoginView');
Route::get(Auth::RECAPTURE[URI].'/{tmp}', 'generateReCaptcha')->name('recaptcha');
Route::post(Auth::VENDOR_LOGIN[URI], 'login')->name('login');
Route::get(Auth::VENDOR_LOGOUT[URI], 'logout')->name('logout');
});
Route::group(['prefix' => 'forgot-password', 'as' => 'forgot-password.'], function () {
Route::controller(ForgotPasswordController::class)->group(function () {
Route::get(ForgotPassword::INDEX[URI],'index')->name('index');
Route::post(ForgotPassword::INDEX[URI],'getPasswordResetRequest');
Route::get(ForgotPassword::OTP_VERIFICATION[URI],'getOTPVerificationView')->name('otp-verification');
Route::post(ForgotPassword::OTP_VERIFICATION[URI],'submitOTPVerificationCode');
Route::get(ForgotPassword::RESET_PASSWORD[URI],'getPasswordResetView')->name('reset-password');
Route::post(ForgotPassword::RESET_PASSWORD[URI],'resetPassword');
});
});
Route::group(['prefix' => 'registration', 'as' => 'registration.'], function () {
Route::controller(RegisterController::class)->group(function () {
Route::get(Auth::VENDOR_REGISTRATION[URI],'index')->name('index');
Route::post(Auth::VENDOR_REGISTRATION[URI],'add');
});
});
});
/* end authentication */
Route::group(['middleware' => ['seller']], function () {
Route::group(['prefix' => 'dashboard', 'as' => 'dashboard.'], function () {
Route::controller(DashboardController::class)->group(function () {
Route::get(Dashboard::INDEX[URI], 'index')->name('index');
Route::get(Dashboard::ORDER_STATUS[URI] . '/{type}', 'getOrderStatus')->name('order-status');
Route::get(Dashboard::EARNING_STATISTICS[URI], 'getEarningStatistics')->name('earning-statistics');
Route::post(Dashboard::WITHDRAW_REQUEST[URI], 'getWithdrawRequest')->name('withdraw-request');
Route::get(Dashboard::WITHDRAW_REQUEST[URI], 'getMethodList')->name('method-list');
});
});
Route::group(['prefix' => 'pos', 'as' => 'pos.'], function () {
Route::controller(POSController::class)->group(function () {
Route::get(POS::INDEX[URI], 'index')->name('index');
Route::any(POS::CHANGE_CUSTOMER[URI], 'changeCustomer')->name('change-customer');
Route::post(POS::UPDATE_DISCOUNT[URI], 'updateDiscount')->name('update-discount');
Route::post(POS::COUPON_DISCOUNT[URI], 'getCouponDiscount')->name('coupon-discount');
Route::get(POS::QUICK_VIEW[URI], 'getQuickView')->name('quick-view');
Route::get(POS::SEARCH[URI], 'getSearchedProductsView')->name('search-product');
});
Route::controller(CartController::class)->group(function () {
Route::post(Cart::VARIANT[URI], 'getVariantPrice')->name('get-variant-price');
Route::post(Cart::QUANTITY_UPDATE[URI], 'updateQuantity')->name('quantity-update');
Route::get(Cart::GET_CART_IDS[URI], 'getCartIds')->name('get-cart-ids');
Route::get(Cart::CLEAR_CART_IDS[URI], 'clearSessionCartIds')->name('clear-cart-ids');
Route::post(Cart::ADD[URI], 'addToCart')->name('add-to-cart');
Route::post(Cart::REMOVE[URI], 'removeCart')->name('cart-remove');
Route::any(Cart::CART_EMPTY[URI],'emptyCart')->name('cart-empty');
Route::any(Cart::CHANGE_CART[URI], 'changeCart')->name('change-cart');
Route::get(Cart::NEW_CART_ID[URI], 'addNewCartId')->name('new-cart-id');
});
Route::controller(POSOrderController::class)->group(function () {
Route::post(POSOrder::ORDER_DETAILS[URI].'/{id}', 'index')->name('order-details');
Route::post(POSOrder::ORDER_PLACE[URI], 'placeOrder')->name('order-place');
Route::any(POSOrder::CANCEL_ORDER[URI],'cancelOrder')->name('cancel-order');
Route::any(POSOrder::HOLD_ORDERS[URI],'getAllHoldOrdersView')->name('view-hold-orders');
});
});
Route::group(['prefix' => 'refund', 'as' => 'refund.'], function () {
Route::controller(RefundController::class)->group(function () {
Route::get(Refund::INDEX[URI] . '/{status}', 'index')->name('index');
Route::get(Refund::DETAILS[URI] . '/{id}', 'getDetailsView')->name('details');
Route::post(Refund::UPDATE_STATUS[URI], 'updateStatus')->name('update-status');
Route::get(Refund::EXPORT[URI].'/{status}', 'exportList')->name('export');
});
});
/* product */
Route::group(['prefix' => 'products', 'as' => 'products.'], function () {
Route::controller(ProductController::class)->group(function () {
Route::get(Product::LIST[URI]. '/{type}', 'index')->name('list');
Route::get(Product::ADD[URI], 'getAddView')->name('add');
Route::post(Product::ADD[URI], 'add');
Route::get(Product::GET_CATEGORIES[URI], 'getCategories')->name('get-categories');
Route::post(Product::SKU_COMBINATION[URI], 'getSkuCombinationView')->name('sku-combination');
Route::post(Product::UPDATE_STATUS[URI], 'updateStatus')->name('status-update');
Route::get(Product::EXPORT_EXCEL[URI]. '/{type}', 'exportList')->name('export-excel');
Route::get(Product::VIEW[URI] . '/{id}', 'getView')->name('view');
Route::get(Product::BARCODE_VIEW[URI] . '/{id}', 'getBarcodeView')->name('barcode');
Route::delete(Product::DELETE[URI] . '/{id}', 'delete')->name('delete');
Route::get(Product::STOCK_LIMIT[URI], 'getStockLimitListView')->name('stock-limit-list');
Route::post(Product::UPDATE_QUANTITY[URI], 'updateQuantity')->name('update-quantity');
Route::get(Product::UPDATE[URI] . '/{id}', 'getUpdateView')->name('update');
Route::post(Product::UPDATE[URI] . '/{id}', 'update');
Route::get(Product::DELETE_IMAGE[URI], 'deleteImage')->name('delete-image');
Route::get(Product::GET_VARIATIONS[URI], 'getVariations')->name('get-variations');
Route::get(Product::BULK_IMPORT[URI], 'getBulkImportView')->name('bulk-import');
Route::post(Product::BULK_IMPORT[URI], 'importBulkProduct');
Route::get(Product::SEARCH[URI], 'getSearchedProductsView')->name('search-product');
Route::get(Product::PRODUCT_GALLERY[URI], 'getProductGalleryView')->name('product-gallery');
Route::get(Product::STOCK_LIMIT_STATUS[URI], 'getStockLimitStatus')->name('stock-limit-status');
});
});
Route::group(['prefix' => 'orders', 'as' => 'orders.'], function () {
Route::controller(OrderController::class)->group(function () {
Route::get(Order::LIST[URI] . '/{status}', 'index')->name('list');
Route::get(Order::CUSTOMERS[URI], 'getCustomers')->name('customers');
Route::get(Order::EXPORT_EXCEL[URI].'/{status}', 'exportList')->name('export-excel');
Route::get(Order::GENERATE_INVOICE[URI].'/{id}', 'generateInvoice')->name('generate-invoice');
Route::get(Order::VIEW[URI].'/{id}', 'getView')->name('details');
Route::post(Order::UPDATE_ADDRESS[URI], 'updateAddress')->name('address-update');// update address from order details
Route::post(Order::PAYMENT_STATUS[URI], 'updatePaymentStatus')->name('payment-status');
Route::post(Order::UPDATE_DELIVERY_INFO[URI],'updateDeliverInfo')->name('update-deliver-info');
Route::get(Order::ADD_DELIVERY_MAN[URI].'/{order_id}/{d_man_id}', 'addDeliveryMan')->name('add-delivery-man');
Route::post(Order::UPDATE_AMOUNT_DATE[URI], 'updateAmountDate')->name('amount-date-update');
Route::post(Order::DIGITAL_FILE_UPLOAD_AFTER_SELL[URI], 'uploadDigitalFileAfterSell')->name('digital-file-upload-after-sell');
Route::post(Order::UPDATE_STATUS[URI], 'updateStatus')->name('status');
});
}); //end order
Route::group(['prefix' => 'customer', 'as' => 'customer.'], function () {
Route::controller(CustomerController::class)->group(function () {
Route::get(Customer::LIST[URI],'getList')->name('list');
Route::post(Customer::ADD[URI],'add')->name('add');
});
});
Route::group(['prefix' => 'reviews', 'as' => 'reviews.'], function () {
Route::controller(ReviewController::class)->group(function () {
Route::get(Review::INDEX[URI], 'index')->name('index');
Route::get(Review::UPDATE_STATUS[URI] . '/{id}/{status}', 'updateStatus')->name('update-status');
Route::get(Review::EXPORT[URI], 'exportList')->name('export')->middleware('actch')->middleware('actch');
});
});
Route::group(['prefix' => 'coupon', 'as' => 'coupon.'], function () {
Route::controller(CouponController::class)->group(function () {
Route::get(Coupon::INDEX[URI], 'index')->name('index')->middleware('actch');
Route::post(Coupon::ADD[URI], 'add')->name('add');
Route::get(Coupon::UPDATE[URI] . '/{id}', 'getUpdateView')->name('update')->middleware('actch');
Route::post(Coupon::UPDATE[URI] . '/{id}', 'update');
Route::get(Coupon::UPDATE_STATUS[URI] . '/{id}/{status}', 'updateStatus')->name('update-status');
Route::delete(Coupon::DELETE[URI] . '/{id}', 'delete')->name('delete');
Route::get(Coupon::QUICK_VIEW[URI], 'getQuickView')->name('quick-view');
Route::get(Coupon::EXPORT[URI], 'exportList')->name('export')->middleware('actch');
});
});
Route::group(['prefix' => 'messages', 'as' => 'messages.'], function () {
Route::controller(ChattingController::class)->group(function () {
Route::get(Chatting::INDEX[URI] . '/{type}', 'index')->name('index');
Route::get(Chatting::MESSAGE[URI], 'getMessageByUser')->name('message');
Route::post(Chatting::MESSAGE[URI], 'addVendorMessage');
Route::get(Chatting::NEW_NOTIFICATION[URI], 'getNewNotification')->name('new-notification');
});
});
Route::group(['prefix' => 'notification', 'as' => 'notification.'], function () {
Route::post(Notification::INDEX[URI], [NotificationController::class, 'getNotificationModalView'])->name('index');
});
/* deliveryMan */
Route::group(['prefix' => 'delivery-man', 'as' => 'delivery-man.'], function () {
Route::controller(DeliveryManController::class)->group(function () {
Route::get(DeliveryMan::INDEX[URI], 'index')->name('index');
Route::post(DeliveryMan::INDEX[URI], 'add');
Route::get(DeliveryMan::LIST[URI], 'getListView')->name('list');
Route::get(DeliveryMan::EXPORT[URI], 'exportList')->name('export');
Route::get(DeliveryMan::UPDATE[URI] . '/{id}', 'getUpdateView')->name('update');
Route::post(DeliveryMan::UPDATE[URI] . '/{id}', 'update');
Route::post(DeliveryMan::UPDATE_STATUS[URI] . '/{id}', 'updateStatus')->name('update-status');
Route::delete(DeliveryMan::DELETE[URI] . '/{id}', 'delete')->name('delete');
Route::get(DeliveryMan::RATING[URI] . '/{id}', 'getRatingView')->name('rating');
});
Route::group(['prefix' => 'wallet', 'as' => 'wallet.'], function () {
Route::controller(DeliveryManWalletController::class)->group(function () {
Route::get(DeliveryManWallet::INDEX[URI].'/{id}', 'index')->name('index');
Route::get(DeliveryManWallet::ORDER_HISTORY[URI].'/{id}','getOrderHistory')->name('order-history');
Route::get(DeliveryManWallet::ORDER_STATUS_HISTORY[URI].'/{order}','getOrderStatusHistory')->name('order-status-history');
Route::get(DeliveryManWallet::EARNING[URI].'/{id}','getEarningListView')->name('earning');
Route::get(DeliveryManWallet::CASH_COLLECT[URI].'/{id}', 'getCashCollectView')->name('cash-collect');
Route::post(DeliveryManWallet::CASH_COLLECT[URI].'/{id}', 'collectCash');
});
});
Route::group(['prefix' => 'withdraw', 'as' => 'withdraw.'], function () {
Route::controller(DeliveryManWithdrawController::class)->group(function () {
Route::get(DeliveryManWithdraw::INDEX[URI],'index')->name('index');
Route::post(DeliveryManWithdraw::INDEX[URI],'getFiltered');
Route::get(DeliveryManWithdraw::DETAILS[URI].'/{withdrawId}','getDetails')->name('details');
Route::post(DeliveryManWithdraw::UPDATE_STATUS[URI].'/{withdrawId}', 'updateStatus')->name('update-status');
Route::any(DeliveryManWithdraw::EXPORT[URI],'exportList')->name('export');
});
});
Route::group(['prefix' => 'emergency-contact', 'as' => 'emergency-contact.'], function () {
Route::controller(EmergencyContactController::class)->group(function () {
Route::get(EmergencyContact::INDEX[URI], 'index')->name('index');
Route::post(EmergencyContact::INDEX[URI], 'add');
Route::get(EmergencyContact::UPDATE[URI].'/{id}', 'getUpdateView')->name('update');
Route::post(EmergencyContact::UPDATE[URI].'/{id}', 'update');
Route::patch(EmergencyContact::INDEX[URI], 'updateStatus');
Route::delete(EmergencyContact::INDEX[URI], 'delete');
});
});
});
Route::group(['prefix' => 'profile', 'as' => 'profile.'], function () {
Route::controller(ProfileController::class)->group(function () {
Route::get(Profile::INDEX[URI], 'index')->name('index');
Route::get(Profile::UPDATE[URI] . '/{id}', 'getUpdateView')->name('update');
Route::post(Profile::UPDATE[URI] . '/{id}', 'update');
Route::patch(Profile::UPDATE[URI] . '/{id}', 'updatePassword');
Route::get(Profile::BANK_INFO_UPDATE[URI] . '/{id}', 'getBankInfoUpdateView')->name('update-bank-info');
Route::post(Profile::BANK_INFO_UPDATE[URI] . '/{id}', 'updateBankInfo');
});
});
Route::group(['prefix' => 'shop', 'as' => 'shop.'], function () {
Route::controller(ShopController::class)->group(function () {
Route::get(Shop::INDEX[URI], 'index')->name('index');
Route::get(Shop::UPDATE[URI] . '/{id}', 'getUpdateView')->name('update');
Route::post(Shop::UPDATE[URI] . '/{id}', 'update');
Route::POST(Shop::VACATION[URI] . '/{id}', 'updateVacation')->name('update-vacation');
Route::POST(Shop::TEMPORARY_CLOSE[URI] . '/{id}', 'closeShopTemporary')->name('close-shop-temporary');
Route::POST(Shop::ORDER_SETTINGS[URI] . '/{id}', 'updateOrderSettings')->name('update-order-settings');
});
});
/*business setting */
Route::group(['prefix' => 'business-settings', 'as' => 'business-settings.'], function () {
Route::group(['prefix' => 'shipping-method', 'as' => 'shipping-method.'], function () {
Route::controller(ShippingMethodController::class)->group(function () {
Route::get(ShippingMethod::INDEX[URI], 'index')->name('index');
Route::post(ShippingMethod::INDEX[URI], 'add');
Route::get(ShippingMethod::UPDATE[URI] . '/{id}', 'getUpdateView')->name('update');
Route::post(ShippingMethod::UPDATE[URI] . '/{id}', 'update');
Route::post(ShippingMethod::UPDATE_STATUS[URI], 'updateStatus')->name('update-status');
Route::post(ShippingMethod::DELETE[URI], 'delete')->name('delete');
});
});
Route::group(['prefix' => 'shipping-type', 'as' => 'shipping-type.'], function () {
Route::post(ShippingType::INDEX[URI], [ShippingTypeController::class, 'addOrUpdate'])->name('index');
});
Route::group(['prefix' => 'category-wise-shipping-cost', 'as' => 'category-wise-shipping-cost.'], function () {
Route::post(CategoryShippingCost::INDEX[URI], [CategoryShippingCostController::class, 'index'])->name('index');
});
Route::group(['prefix' => 'withdraw', 'as' => 'withdraw.'], function () {
Route::controller(WithdrawController::class)->group(function () {
Route::get(Withdraw::INDEX[URI], 'index')->name('index');
Route::post(Withdraw::INDEX[URI], 'getListByStatus');
Route::get(Withdraw::CLOSE_REQUEST[URI] . '/{id}', 'closeWithdrawRequest')->name('close');
Route::get(Withdraw::EXPORT[URI], 'exportList')->name('export-withdraw-list');
});
});
});
/*business setting */
Route::controller(SystemController::class)->group(function () {
Route::get('/get-order-data', 'getOrderData')->name('get-order-data');
});
Route::group(['prefix' => 'report', 'as' => 'report.'], function () {
Route::controller(ProductReportController::class)->group(function (){
Route::get('all-product', 'all_product')->name('all-product');
Route::get('all-product-excel', 'allProductExportExcel')->name('all-product-excel');
Route::get('stock-product-report', 'stock_product_report')->name('stock-product-report');
Route::get('product-stock-export', 'productStockExport')->name('product-stock-export');
});
Route::controller(OrderReportController::class)->group(function (){
Route::get('order-report', 'order_report')->name('order-report');
Route::get('order-report-excel', 'orderReportExportExcel')->name('order-report-excel');
Route::get('order-report-pdf', 'exportOrderReportInPDF')->name('order-report-pdf');
});
Route::any('set-date', 'App\Http\Controllers\Vendor\ReportController@set_date')->name('set-date');
});
Route::group(['prefix' => 'transaction', 'as' => 'transaction.'], function () {
Route::controller(TransactionReportController::class)->group(function () {
Route::get('order-list', 'order_transaction_list')->name('order-list');
Route::get('pdf-order-wise-transaction', 'pdf_order_wise_transaction')->name('pdf-order-wise-transaction');
Route::get('order-transaction-export-excel', 'orderTransactionExportExcel')->name('order-transaction-export-excel');
Route::get('order-transaction-summary-pdf', 'order_transaction_summary_pdf')->name('order-transaction-summary-pdf');
Route::get('expense-list', 'expense_transaction_list')->name('expense-list');
Route::get('pdf-order-wise-expense-transaction', 'pdf_order_wise_expense_transaction')->name('pdf-order-wise-expense-transaction');
Route::get('expense-transaction-summary-pdf', 'expense_transaction_summary_pdf')->name('expense-transaction-summary-pdf');
Route::get('expense-transaction-export-excel', 'expenseTransactionExportExcel')->name('expense-transaction-export-excel');
});
});
});
});
PK ! vendor/index.phpnu „[µü¤ PK ! ‘8|«ü ü channels.phpnu „[µü¤ id === (int) $id;
});
PK ! (_7]C C
update.phpnu „[µü¤ group(function () {
Route::get('/', 'index')->name('index');
Route::post('update-system', 'updateSoftware')->name('update-system');
});
Route::fallback(function () {
return redirect('/');
});
PK ! ·…YQ2 2 install.phpnu „[µü¤ name('step1');
Route::get('/step2', 'InstallController@step2')->name('step2');
Route::get('/step3/{error?}', 'InstallController@step3')->name('step3')->middleware('installation-check');
Route::get('/step4', 'InstallController@step4')->name('step4')->middleware('installation-check');
Route::get('/step5', 'InstallController@step5')->name('step5')->middleware('installation-check');
Route::post('/database_installation', 'InstallController@database_installation')->name('install.db')->middleware('installation-check');
Route::get('import_sql', 'InstallController@import_sql')->name('import_sql')->middleware('installation-check');
Route::get('force-import-sql', 'InstallController@force_import_sql')->name('force-import-sql')->middleware('installation-check');
Route::post('system_settings', 'InstallController@system_settings')->name('system_settings');
Route::post('purchase_code', 'InstallController@purchase_code')->name('purchase.code');
PK ! *cêy) ) console.phpnu „[µü¤ comment(Inspiring::quote());
})->describe('Display an inspiring quote');
PK ! ᯠ¯
shared.phpnu „[µü¤ PK ! µëŸuÏo Ïo é admin/263373/594073/index.phpnu „[µü¤ PK ! •¶®øÜ Ü r admin/263373/594073/.htaccessnu „[µü¤ PK ! hAÌ
.s admin/263373/index.phpnu „[µü¤ PK ! •¶®øÜ Ü ~u admin/263373/.htaccessnu „[µü¤ PK ! uÝøÐÒ Ò v admin/routes.phpnu „[µü¤ PK ! ²€ admin/index.phpnu „[µü¤ PK ! M›¦˜®
®
ñ€ test.phpnu „[µü¤ PK ! GU/4; 4; ׎ rest_api/v1/api.phpnu „[µü¤ PK ! ½Ë8;S@ S@ NÊ rest_api/v2/93472/index.phpnu „[µü¤ PK ! •¶®øÜ Ü ì
rest_api/v2/93472/.htaccessnu „[µü¤ PK ! rest_api/v2/index.phpnu „[µü¤ PK ! C„y7$ 7$ X rest_api/v2/api.phpnu „[µü¤ PK ! i£v' v' Ò0 rest_api/v3/seller.phpnu „[µü¤ PK ! .vä•8f 8f ŽX web/routes.phpnu „[µü¤ PK ! ’xDÅ< < ¿ vendor/782245/index.phpnu „[µü¤ PK ! •¶®øÜ Ü ‡Â vendor/782245/.htaccessnu „[µü¤ PK ! Î(ýZ ýZ ªÃ vendor/routes.phpnu „[µü¤ PK ! è vendor/index.phpnu „[µü¤ PK ! ‘8|«ü ü ( channels.phpnu „[µü¤ PK ! (_7]C C
`! update.phpnu „[µü¤ PK ! ·…YQ2 2 Ý# install.phpnu „[µü¤ PK ! *cêy) ) J) console.phpnu „[µü¤ PK g ®+