@@ -154,107 +154,8 @@ public function getForm( $entry = null )
154154 'general ' => [
155155 'label ' => __ ( 'General ' ),
156156 'fields ' => [
157- [
158- 'type ' => 'text ' ,
159- 'name ' => 'id ' ,
160- 'label ' => __ ( 'Id ' ),
161- 'value ' => $ entry ->id ?? '' ,
162- ], [
163- 'type ' => 'text ' ,
164- 'name ' => 'name ' ,
165- 'label ' => __ ( 'Name ' ),
166- 'value ' => $ entry ->name ?? '' ,
167- ], [
168- 'type ' => 'text ' ,
169- 'name ' => 'gross_purchase_price ' ,
170- 'label ' => __ ( 'Gross_purchase_price ' ),
171- 'value ' => $ entry ->gross_purchase_price ?? '' ,
172- ], [
173- 'type ' => 'text ' ,
174- 'name ' => 'net_purchase_price ' ,
175- 'label ' => __ ( 'Net_purchase_price ' ),
176- 'value ' => $ entry ->net_purchase_price ?? '' ,
177- ], [
178- 'type ' => 'text ' ,
179- 'name ' => 'procurement_id ' ,
180- 'label ' => __ ( 'Procurement_id ' ),
181- 'value ' => $ entry ->procurement_id ?? '' ,
182- ], [
183- 'type ' => 'text ' ,
184- 'name ' => 'product_id ' ,
185- 'label ' => __ ( 'Product_id ' ),
186- 'value ' => $ entry ->product_id ?? '' ,
187- ], [
188- 'type ' => 'text ' ,
189- 'name ' => 'purchase_price ' ,
190- 'label ' => __ ( 'Purchase_price ' ),
191- 'value ' => $ entry ->purchase_price ?? '' ,
192- ], [
193- 'type ' => 'text ' ,
194- 'name ' => 'quantity ' ,
195- 'label ' => __ ( 'Quantity ' ),
196- 'value ' => $ entry ->quantity ?? '' ,
197- ], [
198- 'type ' => 'text ' ,
199- 'name ' => 'available_quantity ' ,
200- 'label ' => __ ( 'Available_quantity ' ),
201- 'value ' => $ entry ->available_quantity ?? '' ,
202- ], [
203- 'type ' => 'text ' ,
204- 'name ' => 'tax_group_id ' ,
205- 'label ' => __ ( 'Tax_group_id ' ),
206- 'value ' => $ entry ->tax_group_id ?? '' ,
207- ], [
208- 'type ' => 'text ' ,
209- 'name ' => 'barcode ' ,
210- 'label ' => __ ( 'Barcode ' ),
211- 'value ' => $ entry ->barcode ?? '' ,
212- ], [
213- 'type ' => 'text ' ,
214- 'name ' => 'expiration_date ' ,
215- 'label ' => __ ( 'Expiration_date ' ),
216- 'value ' => $ entry ->expiration_date ?? '' ,
217- ], [
218- 'type ' => 'text ' ,
219- 'name ' => 'tax_type ' ,
220- 'label ' => __ ( 'Tax_type ' ),
221- 'value ' => $ entry ->tax_type ?? '' ,
222- ], [
223- 'type ' => 'text ' ,
224- 'name ' => 'tax_value ' ,
225- 'label ' => __ ( 'Tax_value ' ),
226- 'value ' => $ entry ->tax_value ?? '' ,
227- ], [
228- 'type ' => 'text ' ,
229- 'name ' => 'total_purchase_price ' ,
230- 'label ' => __ ( 'Total_purchase_price ' ),
231- 'value ' => $ entry ->total_purchase_price ?? '' ,
232- ], [
233- 'type ' => 'text ' ,
234- 'name ' => 'unit_id ' ,
235- 'label ' => __ ( 'Unit_id ' ),
236- 'value ' => $ entry ->unit_id ?? '' ,
237- ], [
238- 'type ' => 'text ' ,
239- 'name ' => 'author ' ,
240- 'label ' => __ ( 'Author ' ),
241- 'value ' => $ entry ->author ?? '' ,
242- ], [
243- 'type ' => 'text ' ,
244- 'name ' => 'uuid ' ,
245- 'label ' => __ ( 'Uuid ' ),
246- 'value ' => $ entry ->uuid ?? '' ,
247- ], [
248- 'type ' => 'text ' ,
249- 'name ' => 'created_at ' ,
250- 'label ' => __ ( 'Created_at ' ),
251- 'value ' => $ entry ->created_at ?? '' ,
252- ], [
253- 'type ' => 'text ' ,
254- 'name ' => 'updated_at ' ,
255- 'label ' => __ ( 'Updated_at ' ),
256- 'value ' => $ entry ->updated_at ?? '' ,
257- ], ]
157+ // ...
158+ ]
258159 ]
259160 ]
260161 ];
0 commit comments