Linux server1.signalhg.team 4.18.0-553.134.1.el8_10.x86_64 #1 SMP Tue Jun 16 16:05:57 EDT 2026 x86_64
Apache
: 209.74.80.147 | : 216.73.217.20
150 Domain
8.1.34
signgwph
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
signgwph /
signaltechdemo18.com /
app /
Models /
[ HOME SHELL ]
Name
Size
Permission
Action
.htaccess
127
B
-r--r--r--
AddOn.php
500
B
-rw-rw-r--
BankTransferPayment.php
765
B
-rw-rw-r--
ChFavorite.php
160
B
-rw-rw-r--
ChMessage.php
425
B
-rw-rw-r--
ChPinned.php
219
B
-rw-rw-r--
Coupon.php
1.29
KB
-rw-rw-r--
EmailTemplate.php
10.16
KB
-rw-rw-r--
EmailTemplateLang.php
308
B
-rw-rw-r--
HelpdeskCategory.php
633
B
-rw-rw-r--
HelpdeskReply.php
774
B
-rw-rw-r--
HelpdeskTicket.php
1.31
KB
-rw-rw-r--
LoginHistory.php
487
B
-rw-rw-r--
MediaDirectory.php
956
B
-rw-rw-r--
Notification.php
235
B
-rw-rw-r--
NotificationTemplateLang.php
331
B
-rw-rw-r--
Order.php
1.02
KB
-rw-rw-r--
Plan.php
1.6
KB
-rw-rw-r--
PurchaseInvoice.php
2.99
KB
-rw-rw-r--
PurchaseInvoiceItem.php
1.73
KB
-rw-rw-r--
PurchaseInvoiceItemTax.php
454
B
-rw-rw-r--
PurchaseReturn.php
2.38
KB
-rw-rw-r--
PurchaseReturnItem.php
2.02
KB
-rw-rw-r--
PurchaseReturnItemTax.php
452
B
-rw-rw-r--
SalesInvoice.php
2.94
KB
-rw-rw-r--
SalesInvoiceItem.php
1.74
KB
-rw-rw-r--
SalesInvoiceItemTax.php
448
B
-rw-rw-r--
SalesInvoiceReturn.php
2.28
KB
-rw-rw-r--
SalesInvoiceReturnItem.php
2.03
KB
-rw-rw-r--
SalesInvoiceReturnItemTax.php
460
B
-rw-rw-r--
SalesProposal.php
2.76
KB
-rw-rw-r--
SalesProposalItem.php
1.7
KB
-rw-rw-r--
SalesProposalItemTax.php
450
B
-rw-rw-r--
Setting.php
265
B
-rw-rw-r--
Transfer.php
818
B
-rw-rw-r--
User.php
10.92
KB
-rw-rw-r--
UserActiveModule.php
334
B
-rw-rw-r--
UserCoupon.php
640
B
-rw-rw-r--
Warehouse.php
503
B
-rw-rw-r--
goat1.php
143.87
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : SalesInvoiceItem.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\HasMany; class SalesInvoiceItem extends Model { protected $fillable = [ 'invoice_id', 'product_id', 'quantity', 'unit_price', 'discount_percentage', 'discount_amount', 'tax_percentage', 'tax_amount', 'total_amount', 'creator_id', 'created_by' ]; protected $casts = [ 'quantity' => 'integer', 'unit_price' => 'decimal:2', 'discount_percentage' => 'decimal:2', 'discount_amount' => 'decimal:2', 'tax_percentage' => 'decimal:2', 'tax_amount' => 'decimal:2', 'total_amount' => 'decimal:2' ]; public function invoice(): BelongsTo { return $this->belongsTo(SalesInvoice::class, 'invoice_id'); } public function product(): BelongsTo { return $this->belongsTo(\Workdo\ProductService\Models\ProductServiceItem::class, 'product_id'); } public function taxes(): HasMany { return $this->hasMany(SalesInvoiceItemTax::class, 'item_id'); } public function calculateAmounts() { $lineTotal = $this->quantity * $this->unit_price; $this->discount_amount = ($lineTotal * $this->discount_percentage) / 100; $afterDiscount = $lineTotal - $this->discount_amount; $this->tax_amount = ($afterDiscount * $this->tax_percentage) / 100; $this->total_amount = $afterDiscount + $this->tax_amount; } protected static function boot() { parent::boot(); static::saving(function ($item) { $item->calculateAmounts(); }); } }
Close