added decimal format variable for invoice duration (#1037)
This commit is contained in:
@@ -80,6 +80,15 @@ class DebugRenderer implements RendererInterface
|
||||
return $seconds;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $seconds
|
||||
* @return mixed
|
||||
*/
|
||||
protected function getFormattedDecimalDuration($seconds)
|
||||
{
|
||||
return $seconds;
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the given InvoiceDocument with the data from the InvoiceModel into a stupid array for testing only.
|
||||
*
|
||||
|
||||
@@ -61,6 +61,7 @@ class DebugRendererTest extends TestCase
|
||||
'invoice.vat',
|
||||
'invoice.tax',
|
||||
'invoice.total_time',
|
||||
'invoice.duration_decimal',
|
||||
'invoice.total',
|
||||
'invoice.subtotal',
|
||||
'template.name',
|
||||
@@ -126,6 +127,7 @@ class DebugRendererTest extends TestCase
|
||||
'entry.total',
|
||||
'entry.currency',
|
||||
'entry.duration',
|
||||
'entry.duration_decimal',
|
||||
'entry.duration_minutes',
|
||||
'entry.begin',
|
||||
'entry.begin_time',
|
||||
|
||||
Reference in New Issue
Block a user