public function configureListFields(ListMapper $list)
{
$list->addIdentifier('reference')->add('customer')->add('status', 'string', array('template' => 'SonataInvoiceBundle:InvoiceAdmin:list_status.html.twig'))->add('totalExcl', 'currency', array('currency' => $this->currencyDetector->getCurrency()->getLabel()))->add('totalInc', 'currency', array('currency' => $this->currencyDetector->getCurrency()->getLabel()));
}