Fixed document total tax name change first character upper #118vw75
This commit is contained in:
parent
e8c46a9aa3
commit
c9f7ea905a
@ -11,6 +11,7 @@ use App\Models\Document\Document;
|
||||
use App\Models\Document\DocumentTotal;
|
||||
use App\Traits\Currencies;
|
||||
use App\Traits\DateTime;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class CreateDocumentItemsAndTotals extends Job implements HasOwner, HasSource, ShouldCreate
|
||||
{
|
||||
@ -99,7 +100,7 @@ class CreateDocumentItemsAndTotals extends Job implements HasOwner, HasSource, S
|
||||
'type' => $this->document->type,
|
||||
'document_id' => $this->document->id,
|
||||
'code' => 'tax',
|
||||
'name' => $tax['name'],
|
||||
'name' => Str::ucfirst($tax['name']),
|
||||
'amount' => round(abs($tax['amount']), $precision),
|
||||
'sort_order' => $sort_order,
|
||||
'created_from' => $this->request['created_from'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user