App\Models\Traits\PresentsInvoice::getInvoiceFields PHP 메소드

getInvoiceFields() 공개 메소드

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