"Remove unused Clear button in PosDepartmentStep1MobileTransactionHistory for streamlined UI."

This commit is contained in:
Jeppe Bundgaard
2025-11-18 11:18:58 +01:00
parent 84cbd432a8
commit ff3cfebe3a
@@ -214,13 +214,6 @@ const isVisible = (transaction: PosOrder, showPending: boolean, showCompleted: b
</div>
<!-- Buttons -->
<PosDepartmentStepMobileFixedBottomControl>
<!-- Clear button -->
<PosDepartmentStepMobileButtonNextStep class="mb-2" :isDark="true" :customAction="() => pos.transactionHistory.clear()" :customDisabled="false" v-if="pos.transactionHistory.get().length > 0" v-show="false">
<span class="is-float-left has-text-white">{{ SessionUser.objects.global.language.clear }}</span>
<span class="is-float-right has-text-white">
<i class="fa-solid fa-trash"></i>
</span>
</PosDepartmentStepMobileButtonNextStep>
<!-- Refresh button -->
<PosDepartmentStepMobileButtonNextStep class="mb-2" :isWhite="false" :customAction="() => syncListTransactionHistory()" :customDisabled="false" :buttonClasses="['has-background-primary-dark', 'has-text-black', ...isLoading ? ['is-loading'] : []]">
<span class="is-float-left has-text-white">{{ SessionUser.objects.global.language.reload }}</span>