Skip to content

Commit 36814f4

Browse files
committed
unhide upload in return
1 parent 28577f7 commit 36814f4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

app/Actions/Retina/Fulfilment/PalletReturn/UI/ShowRetinaPalletReturn.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@ public function htmlResponse(PalletReturn $palletReturn, ActionRequest $request)
135135
};
136136

137137
$actions = $palletReturn->state == PalletReturnStateEnum::IN_PROCESS ? [
138-
/* [
139-
'type' => 'button',
140-
'style' => 'tertiary',
141-
'icon' => 'fal fa-upload',
142-
'label' => __('upload'),
143-
'tooltip' => __('Upload file')
144-
],*/
138+
[
139+
'type' => 'button',
140+
'style' => 'tertiary',
141+
'icon' => 'fal fa-upload',
142+
'label' => __('upload'),
143+
'tooltip' => __('Upload file')
144+
],
145145
$palletReturn->pallets()->count() > 0 ? [
146146
'type' => 'button',
147147
'style' => 'save',
@@ -269,7 +269,7 @@ public function htmlResponse(PalletReturn $palletReturn, ActionRequest $request)
269269
'upload_spreadsheet' => [
270270
'event' => 'action-progress',
271271
'channel' => 'retina.personal.' . $palletReturn->organisation_id,
272-
'required_fields' => ['pallet_stored_item', 'pallet', 'stored_item', 'quantity'],
272+
'required_fields' => ['reference'],
273273
'template' => [
274274
'label' => 'Download template (.xlsx)',
275275
],

0 commit comments

Comments
 (0)