Documentation

ManualPayment extends Model
in package
uses HasFactory

Class ManualPayment

Represents a manual payment for a Pelanggan bill.

Table of Contents

Properties

$appends  : mixed
$bill_id  : int
$payment_date  : string
$payment_receipt  : string|null
$payment_receipt_url  : string|null
$pelanggan_id  : int
$fillable  : mixed
The attributes that are mass assignable.

Methods

getPaymentReceiptUrlAttribute()  : string|null
Get the URL to the payment receipt file.

Properties

$payment_date

public string $payment_date

The date of the payment.

$payment_receipt

public string|null $payment_receipt

The file path of the payment receipt.

$payment_receipt_url

public string|null $payment_receipt_url

The URL to the payment receipt file.

$pelanggan_id

public int $pelanggan_id

The ID of the associated Pelanggan.

$fillable

The attributes that are mass assignable.

protected mixed $fillable = ['payment_date', 'payment_receipt', 'bill_id', 'pelanggan_id']

Methods

getPaymentReceiptUrlAttribute()

Get the URL to the payment receipt file.

public getPaymentReceiptUrlAttribute() : string|null
Return values
string|null

        
On this page

Search results