Module

Invoice

Members

React.MutableRefObject.<null>

# static divRef

React useRef for print

View Source pages/Dashboard/ShareContract/Invoice.jsx, line 26

* | Object

# static invoice

React useMemo for getting invoice data

View Source pages/Dashboard/ShareContract/Invoice.jsx, line 41

# static useGetInvoice

React query hook for getting invoice using id

View Source pages/Dashboard/ShareContract/Invoice.jsx, line 33

object

# static useParams

React useParams for getting id

View Source pages/Dashboard/ShareContract/Invoice.jsx, line 18

Methods

# static handlePrint() → {function}

Function for handle print

View Source pages/Dashboard/ShareContract/Invoice.jsx, line 69

function

# inner getTotalAmount(total, fee, charge) → {number|number}

Function for getting total amount

Parameters:
Name Type Description
total number

total committed amount

fee number

management fee

charge number

premium charge

View Source pages/Dashboard/ShareContract/Invoice.jsx, line 52

  • total amount
number
  • total amount
number