Skip to content

Commit

Permalink
unhide upload in return
Browse files Browse the repository at this point in the history
  • Loading branch information
KirinZero0 committed Feb 12, 2025
1 parent 28577f7 commit 36814f4
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ public function htmlResponse(PalletReturn $palletReturn, ActionRequest $request)
};

$actions = $palletReturn->state == PalletReturnStateEnum::IN_PROCESS ? [
/* [
'type' => 'button',
'style' => 'tertiary',
'icon' => 'fal fa-upload',
'label' => __('upload'),
'tooltip' => __('Upload file')
],*/
[
'type' => 'button',
'style' => 'tertiary',
'icon' => 'fal fa-upload',
'label' => __('upload'),
'tooltip' => __('Upload file')
],
$palletReturn->pallets()->count() > 0 ? [
'type' => 'button',
'style' => 'save',
Expand Down Expand Up @@ -269,7 +269,7 @@ public function htmlResponse(PalletReturn $palletReturn, ActionRequest $request)
'upload_spreadsheet' => [
'event' => 'action-progress',
'channel' => 'retina.personal.' . $palletReturn->organisation_id,
'required_fields' => ['pallet_stored_item', 'pallet', 'stored_item', 'quantity'],
'required_fields' => ['reference'],
'template' => [
'label' => 'Download template (.xlsx)',
],
Expand Down

0 comments on commit 36814f4

Please sign in to comment.