Procházet zdrojové kódy

add upd number to order card

Alexander Musikhin před 1 týdnem
rodič
revize
93e120c7f5
1 změnil soubory, kde provedl 14 přidání a 0 odebrání
  1. 14 0
      resources/views/orders/show.blade.php

+ 14 - 0
resources/views/orders/show.blade.php

@@ -244,6 +244,7 @@
                                     <th>Дата производства</th>
                                     <th>Номер ведомости</th>
                                     <th>Дата ведомости</th>
+                                    <th>Номер УПД</th>
                                     <th>Склад</th>
                                     <th>Паспорт</th>
                                 </tr>
@@ -353,6 +354,19 @@
                                                 {{ $p->statement_date }}
                                             @endif
                                         </td>
+                                        <td>
+                                            @if(canUpdateField('maf', 'upd_number'))
+                                                <input
+                                                    type="text"
+                                                    class="form-control form-control-sm inline-product-sku-field"
+                                                    data-url="{{ route('product_sku.inline-update', $p->id) }}"
+                                                    data-field="upd_number"
+                                                    value="{{ $p->upd_number }}"
+                                                >
+                                            @else
+                                                {{ $p->upd_number }}
+                                            @endif
+                                        </td>
                                         <td class="text-center">
                                             @if($p->maf_order?->order_number)
                                                 <i class="bi bi-check-all text-success fw-bold"></i>