App\Models\Traits\PresentsInvoice::getInvoiceFields PHP Method

getInvoiceFields() public method

public getInvoiceFields ( )
    public function getInvoiceFields()
    {
        if ($this->invoice_fields) {
            $fields = json_decode($this->invoice_fields, true);
            return $this->applyLabels($fields);
        } else {
            return $this->getDefaultInvoiceFields();
        }
    }