<Quotes />

Embed the Quotes component to show the quotes shared with an account, where each quote opens to be read, downloaded and accepted.

Quotes component titled Past quotes with a Search by quote id box, listing Q-312 for $1,950.00 Shared and two Accepted quotes for Contoso Ltd

The quotes component.

<Quotes
  onQuoteClick={(quote) => console.log(quote.id)}
/>

It needs a portal session token, and shows the quotes you’ve shared with that account. Draft quotes aren’t listed. Like every component, it also accepts appearance (Styling).

Clicking a quote opens it in a drawer as a <Quote />, where the customer can download and accept it.

OptionsLink to Options section

<Quotes /> takes the same filter, sort, displayOptions and behaviorOptions as <Invoices />, with these differences:

  • displayOptions.title defaults to "Past quotes" and emptyMessage to "There are no quotes". The search box searches by quote ID.
  • columns defaults to ["date", "title", "amount", "download", "state"].
  • There’s no date type or hidePaymentForm option.
  • onQuoteClick replaces onInvoiceClick, and renderQuote replaces invoiceComponent. renderQuote is a function that receives the quote and returns what to show in the drawer.
  • Filters use quote, for example filter="quote.amount is 100".