Linux host2.homegym.sg 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
Apache
Server IP : 159.223.38.192 & Your IP : 159.223.38.192
Domains : 20 Domain
User : eachadea
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
home /
eachadea /
.trash /
Delete
Unzip
Name
Size
Permission
Date
Action
200621
[ DIR ]
drwxr-xr-x
2021-06-20 00:39
Blog
[ DIR ]
drwxr-xr-x
2021-11-02 14:38
Blog.1
[ DIR ]
drwxr-xr-x
2022-04-26 13:19
Blog.2
[ DIR ]
drwxr-xr-x
2020-07-15 19:38
InstagramMin
[ DIR ]
drwxr-xr-x
2021-12-14 02:19
InstagramMin.1
[ DIR ]
drwxr-xr-x
2025-02-20 07:22
License
[ DIR ]
drwxr-xr-x
2021-11-02 14:38
License.1
[ DIR ]
drwxr-xr-x
2022-04-26 13:15
License.2
[ DIR ]
drwxr-xr-x
2020-07-15 19:38
PSD
[ DIR ]
drwxr-xr-x
2021-11-02 14:38
PSD.1
[ DIR ]
drwxr-xr-x
2022-04-26 12:01
Revolution Slider
[ DIR ]
drwxr-xr-x
2021-11-02 14:52
Revolution Slider.1
[ DIR ]
drwxr-xr-x
2022-04-26 12:00
Revolution Slider.2
[ DIR ]
drwxr-xr-x
2020-07-15 19:41
Revolution Slides Import
[ DIR ]
drwxr-xr-x
2021-11-02 14:39
Revolution Slides Import.1
[ DIR ]
drwxr-xr-x
2022-04-26 12:01
Revolution Slides Import.2
[ DIR ]
drwxr-xr-x
2020-07-15 19:41
Theme Files
[ DIR ]
drwxr-xr-x
2021-12-14 02:19
Theme Files.1
[ DIR ]
drwxr-xr-x
2022-04-28 03:07
Theme Files.2
[ DIR ]
drwxr-xr-x
2020-08-08 08:51
__MACOSX
[ DIR ]
drwxr-xr-x
2022-07-04 02:19
adminhtml
[ DIR ]
drwxrwsr-x
2022-04-27 03:03
app
[ DIR ]
drwxr-xr-x
2021-10-06 05:15
app.1
[ DIR ]
drwxr-xr-x
2022-03-18 14:26
docs
[ DIR ]
drwxr-xr-x
2022-01-24 16:20
magento2-extension-master
[ DIR ]
drwxr-xr-x
2022-03-29 15:21
magento2-extension-master.1
[ DIR ]
drwxr-xr-x
2022-06-18 07:15
magento2-extension-master.2
[ DIR ]
drwxr-xr-x
2022-09-29 01:46
src
[ DIR ]
drwxr-xr-x
2022-01-23 15:57
video
[ DIR ]
drwxr-xr-x
2023-06-16 10:23
.htaccess
5.62
KB
-rw-r--r--
2025-10-28 18:40
.trash_restore
6.32
KB
-rw-------
2025-10-28 18:54
Documentation.html
289
B
-rw-r--r--
2019-04-16 21:30
Documentation.html.1
289
B
-rw-r--r--
2019-04-16 21:30
Documentation.html.2
289
B
-rw-r--r--
2019-04-16 21:30
Mage.php_bak
24.59
KB
-rw-r--r--
2025-10-28 17:55
MageWorx.zip
6.82
MB
-rw-r--r--
2020-10-23 15:19
Magento-CE-2.2.4_sample_data-2018-05-01-09-43-25.zip
246.31
MB
-rw-r--r--
2018-06-19 08:27
commercialQuoteNoGst_deposit.phtml
1.41
KB
-rw-r--r--
2022-11-11 06:38
commercialQuoteNoGst_discount
2.37
KB
-rw-r--r--
2022-11-11 06:12
cron_old.log
113.81
MB
-rwxrwxrwx
2020-06-01 01:47
custom_block.zip
3.68
KB
-rw-r--r--
2021-12-02 10:23
customers_59892_target.sql
309.78
MB
-rw-r--r--
2020-05-23 10:05
debug_old1.log
61.73
MB
-rwxrwxrwx
2020-06-01 04:02
debug_old2.log
798.6
KB
-rwxrwxrwx
2020-06-01 08:46
eachadea_m2.sql
360.42
MB
-rw-r--r--
2020-06-02 02:17
eachadea_m2_bak.sql
179.39
MB
-rw-r--r--
2020-05-23 16:01
index.php_bak
2.51
KB
-rw-r--r--
2025-10-28 17:53
le_connector.zip
22.14
KB
-rw-r--r--
2020-05-17 17:41
mage1.zip
562.12
KB
-rw-r--r--
2022-04-27 09:13
magento-ce-2.3.5-p1-2020-04-24-08-46-10.tar.gz
130.6
MB
-rw-r--r--
2020-05-15 05:09
magento2-extension-2.1.3.zip
2.19
MB
-rw-r--r--
2024-10-22 03:29
magento2-extension-master (1).zip
1.84
MB
-rw-r--r--
2022-09-29 01:44
magento2-extension-master (1).zip.1
1.84
MB
-rw-r--r--
2022-09-29 01:45
magento2-extension-master.zip
1.84
MB
-rw-r--r--
2022-03-29 15:21
monster_fitness.png
2.93
KB
-rw-r--r--
2020-06-01 18:25
olegnax-instagram-feed-pro-magento-2-1.1.1 (1).zip
449.61
KB
-rw-r--r--
2022-03-19 07:09
olegnax-instagram-feed-pro-magento-2-1.1.4.1.zip
455.57
KB
-rw-r--r--
2023-06-19 14:45
olegnax-instagram-feed-pro-magento-2-1.1.4.zip
455.47
KB
-rw-r--r--
2023-06-08 10:43
olegnax-instagram-feed-pro-magento-2-1.1.4.zip.1
455.47
KB
-rw-r--r--
2023-06-08 10:43
pub.zip
504.25
MB
-rw-r--r--
2020-05-23 10:06
system.log
1.4
GB
-rw-rw-r--
2022-04-11 13:13
system_old.log
849.79
KB
-rwxrwxrwx
2020-06-01 01:42
system_old1.log
15.34
KB
-rwxrwxrwx
2020-06-01 03:56
system_old2.log
633.36
KB
-rwxrwxrwx
2020-06-01 08:46
themeforest-8HlPdavn-athlete2-strong-magento-2-theme.zip
199.03
MB
-rw-r--r--
2021-10-08 02:40
themeforest-Fzn37Wjn-athlete2-strong-magento-2-theme.zip
195.19
MB
-rw-r--r--
2021-12-14 02:18
themeforest-MVnxtyQ0-athlete2-strong-magento-2-theme.zip
153.51
MB
-rw-r--r--
2020-11-07 15:35
themeforest-WLWoq2zX-athlete2-strong-magento-2-theme.zip
57.73
MB
-rw-r--r--
2020-08-08 08:49
themeforest-eCRzUBmI-athlete2-strong-magento-2-theme.zip
191.32
MB
-rw-r--r--
2021-06-18 02:56
themeforest-tUkBjS33-athlete2-strong-magento-2-theme.zip
199.05
MB
-rw-r--r--
2021-09-08 14:52
themeforest-z5enL4ej-athlete2-strong-magento-2-theme.zip
47.15
MB
-rw-r--r--
2020-05-15 15:13
update_old2.log
2.98
MB
-rwxrwxrwx
2020-06-01 08:46
xiaomi.png
2.2
KB
-rw-r--r--
2020-06-01 18:25
Save
Rename
<?php // If this is an invoice template, you can also use $this->getInvoice() or $this->getShipment() for shipment templates. Make sure to define it in the {{block}} call in your PDF template using invoice=$invoice and shipment=$shipment $order = $this->getOrder(); $_objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $_objectManager = \Magento\Framework\App\ObjectManager::getInstance(); //echo $order->getIncrementId(); // Or if used within ##items_start## and ##items_end## you can get the current item like this: $item = $this->getItem(); $orderItems = $order->getAllItems(); $tax = 0; foreach ($orderItems as $item) { $itemName = $item->getName(); $tax = $item->getTaxPercent(); if ($itemName == "Deposit-Paid") { $options = $item->getProductOptions(); if(!empty($options['options'])) { foreach ($options['options'] as $option) { if ($option['label'] == 'Reflected Inside Discount'){ $deposit = str_replace("$", "", $option['value']); break; } } } } } if (isset($deposit) && is_numeric($deposit)) { $discount = $order->getDiscountAmount() + $deposit; if ($discount != 0) { $discount = "$ ".number_format($discount, 2); $discount = str_replace("$ -", "- $", $discount); echo '<tr><td colspan="2"></td>'; echo '<td colspan="2" class="label">'; echo 'Discount'; echo '</td>'; echo '<td class="value">'; echo $discount; echo '</td></tr>'; } $deposit = "- $".number_format($deposit, 2); echo '<tr><td colspan="2"></td>'; echo '<td colspan="2" class="label">'; echo 'Deposit Paid'; echo '</td>'; echo '<td class="value">'; echo $deposit; echo '</td></tr>'; } elseif ($order->getDiscountAmount()) { $discount = $order->getDiscountAmount(); if ($discount != 0) { $discount = "$ ".number_format($discount, 2); $discount = str_replace("$ -", "- $", $discount); echo '<tr><td colspan="2"></td>'; echo '<td colspan="2" class="label">'; echo 'Discount'; echo '</td>'; echo '<td class="value">'; echo $discount; echo $tax; echo '</td></tr>'; } } ?>