"Remove unused Clear button in PosDepartmentStep1MobileTransactionHistory for streamlined UI."
This commit is contained in:
-7
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user