Skip to content

Commit b514590

Browse files
author
realshade
committed
виправлено форматування відображення інформації про філамент у шаблоні index.blade.php
1 parent 49e6d28 commit b514590

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/views/printers/index.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class="d-inline-block confirm-delete"
8585
<div>
8686
<span class="card-text small text-muted">#{{ $slot->filamentSpool->id }}</span> {{ $slot->filamentSpool->filament->name }} {{ $slot->filamentSpool->filament->type->name }}
8787
<br>
88-
{{ $slot->filamentSpool->filament->vendor->name }}, ({{ $slot->filamentSpool->weight_initial - $slot->filamentSpool->weight_used }}/{{ $slot->filamentSpool->packaging->weight }})
88+
{{ $slot->filamentSpool->filament->vendor->name }} ({{ $slot->filamentSpool->weight_initial - $slot->filamentSpool->weight_used }}/{{ $slot->filamentSpool->packaging->weight }})
8989
</div>
9090
</div>
9191
@else
@@ -193,8 +193,8 @@ class="confirm-delete"
193193
<div class="d-flex justify-content-between align-items-center">
194194
<div>
195195
<div class="small">
196-
{{ $partTask->part->name }}
197-
(<span class="card-text small text-muted">#{{ $partTask->part->id }}</span>, {{ $partTask->part->version }}{{ $partTask->part->version_date ? ', ' . $partTask->part->version_date->format('d.m.Y') : '' }})
196+
<span class="card-text small text-muted">#{{ $partTask->part->id }}</span> {{ $partTask->part->name }}
197+
<span class="card-text small text-muted">({{ $partTask->part->version }}{{ $partTask->part->version_date ? ', ' . $partTask->part->version_date->format('d.m.Y') : '' }})</span>
198198
({{ $partTask->count_printed }}/{{ $partTask->count_planned }})
199199
</div>
200200
<div class="ms-5">
@@ -251,7 +251,7 @@ class="confirm-delete"
251251
<div class="small">
252252
<span class="card-text small text-muted">#{{ $spool->id }}</span>
253253
{{ $spool->filament->name }} {{ $spool->filament->type->name }}
254-
{{ $spool->filament->vendor->name }}, ({{ $spool->weight_initial - $spool->weight_used }}/{{ $spool->packaging->weight }})
254+
{{ $spool->filament->vendor->name }} ({{ $spool->weight_initial - $spool->weight_used }}/{{ $spool->packaging->weight }})
255255
</div>
256256
<div>
257257
{{ $spool->pivot->weight_used }}

0 commit comments

Comments
 (0)