mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Clean up long texts
This commit is contained in:
parent
18d4f647a8
commit
9e071f58d7
@ -24,7 +24,7 @@ class ProductDatatable extends EntityDatatable
|
|||||||
[
|
[
|
||||||
'notes',
|
'notes',
|
||||||
function ($model) {
|
function ($model) {
|
||||||
return e(Str::limit($model->notes, 100));
|
return $this->showWithTooltip($model->notes);
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -18,11 +18,6 @@ class InvoiceItemPresenter extends EntityPresenter
|
|||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function notes()
|
|
||||||
{
|
|
||||||
return Str::limit($this->entity->notes);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function tax1()
|
public function tax1()
|
||||||
{
|
{
|
||||||
$item = $this->entity;
|
$item = $this->entity;
|
||||||
|
@ -67,7 +67,7 @@ class ProductReport extends AbstractReport
|
|||||||
$this->isExport ? $invoice->invoice_number : $invoice->present()->link,
|
$this->isExport ? $invoice->invoice_number : $invoice->present()->link,
|
||||||
$invoice->present()->invoice_date,
|
$invoice->present()->invoice_date,
|
||||||
$item->product_key,
|
$item->product_key,
|
||||||
$this->isExport ? $item->notes : $item->present()->notes,
|
$item->notes,
|
||||||
Utils::roundSignificant($item->qty, 0),
|
Utils::roundSignificant($item->qty, 0),
|
||||||
Utils::roundSignificant($item->cost, 2),
|
Utils::roundSignificant($item->cost, 2),
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user