You are here

commerce_invoice_handler_field_invoice_type.inc in Commerce Invoice 7

File

includes/views/handlers/commerce_invoice_handler_field_invoice_type.inc
View source
<?php

/**
 * Field handler to translate an invoice type into its readable form.
 */
class commerce_invoice_handler_field_invoice_type extends views_handler_field {
  function render($values) {
    $type = $this
      ->get_value($values);
    if ($type) {
      return commerce_invoice_type_get_name($type);
    }
  }

}

Classes

Namesort descending Description
commerce_invoice_handler_field_invoice_type Field handler to translate an invoice type into its readable form.