{{ $row->id }} |
{{ $row->parent_id }} |
{{ $row->is_service==0 ? $row->product->name : $row->service->name }} |
{{ $row->cleared_quantity / ($row->measure == 0 ? 1 : ($row->measure == 1 ? $row->product->package_count : $row->product->pallet_count )) }} |
{{ $row->quantity / ($row->measure == 0 ? 1 : ($row->measure == 1 ? $row->product->package_count : $row->product->pallet_count )) }} |
{{ $row->measure == 0 ? __('texte.documents_arr.show.count') : $row->product->package->name}} |
{{ $row->is_service==0 ? __('texte.short_units_arr')[$row->product->unit] : 'бр'}} |
{{ $row->batch }} |
{{ $row->expiring_date ? (new DateTime($row->expiring_date))->format('d.m.Y') : '' }} |
{{ number_format($row->price * ($row->measure == 0 ? 1 : ($row->measure == 1 ? $row->product->package_count : $row->product->pallet_count ))*($version->vat_rate_id!=0 && ($version->doc_type_id!=3 || $row->product->is_wrappage==0) ? $version->vat_rate->value : 1),5,'.','')}} |
{{ number_format($row->discount * ($row->measure == 0 ? 1 : ($row->measure == 1 ? $row->product->package_count : $row->product->pallet_count ))*($version->vat_rate_id!=0 && ($version->doc_type_id!=3 || $row->product->is_wrappage==0) ? $version->vat_rate->value : 1),5,'.','')}} |
{{ number_format($row->value*($version->vat_rate_id!=0 && ($version->doc_type_id!=3 || $row->product->is_wrappage==0) ? $version->vat_rate->value : 1),2,'.','') }} |
{{ __('texte.document_statuses_arr')[$version->status] }} |