File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
WooCommerce/Classes/POS/Presentation Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,17 @@ struct POSFloatingControlView: View {
8686 )
8787 }
8888 }
89+
90+ if ServiceLocator . featureFlagService. isFeatureFlagEnabled ( . pointOfSaleHistoricalOrdersi1) {
91+ Button {
92+ // TODO: WOOMOB-1133
93+ } label: {
94+ Label (
95+ title: { Text ( Localization . orders) } ,
96+ icon: { Image ( systemName: " text.document " ) }
97+ )
98+ }
99+ }
89100 } label: {
90101 VStack {
91102 Spacer ( )
@@ -161,6 +172,12 @@ private extension POSFloatingControlView {
161172 }
162173
163174 enum Localization {
175+ static let orders = NSLocalizedString (
176+ " pointOfSale.floatingButtons.orders.button.title " ,
177+ value: " Orders " ,
178+ comment: " The title of the menu button to access Point of Sale historical orders, shown in a fullscreen view. "
179+ )
180+
164181 static let exitPointOfSale = NSLocalizedString (
165182 " pointOfSale.floatingButtons.exit.button.title " ,
166183 value: " Exit POS " ,
You can’t perform that action at this time.
0 commit comments