Skip to content
Last updated

WHMCS\Billing\Quote

Class · extends AbstractModel

A quote for client services.

Quotes provide the WHMCS operator the ability to produce an "order" without actually invoking an actual Invoice. The operator is also able to hand-modify the line items of a quote to make a flexible offer to a customer.

A customer may then accept the quote, whereupon it turns into a proper Order with an Invoice, or reject it. A rejected quote is simply marked and left in place, for further processing by the operator if desired.

A quote can be sent to somebody whether or not that recipient is a client or not. If it is sent to a Client, the client's ID number is associated with the quote; if not, the full contact information for the recipient is provided. A recipient can then register an account with that data if they wish, or simply reject the quote.

Properties

TypeNameDescription
``$timestamps

Methods

client

public function client()

Each quote may belong to a client.

Returns \Illuminate\Database\Eloquent\Relations\BelongsTo

items

public function items()

A quote has many quote items for.

Returns \Illuminate\Database\Eloquent\Relations\HasMany

public function getLink(): string