Commit 19f077f9 authored by chris.crook's avatar chris.crook

> basic checkout screen access

parent 4815c6d4
...@@ -132,6 +132,11 @@ public class AdminMenu extends AppCompatActivity { ...@@ -132,6 +132,11 @@ public class AdminMenu extends AppCompatActivity {
startActivity(intent); startActivity(intent);
} }
public void SelfServiceMode (View view){
Intent intent = new Intent(this,CheckoutScreen.class);
startActivity(intent);
}
public void CogwheelsTurning (View view){ public void CogwheelsTurning (View view){
Intent intent = new Intent(this,Settings.class); Intent intent = new Intent(this,Settings.class);
startActivity(intent); startActivity(intent);
......
...@@ -108,4 +108,9 @@ public class UserMenu extends AppCompatActivity { ...@@ -108,4 +108,9 @@ public class UserMenu extends AppCompatActivity {
Intent intent = new Intent(this,Settings.class); Intent intent = new Intent(this,Settings.class);
startActivity(intent); startActivity(intent);
} }
public void SelfServiceMode (View view){
Intent intent = new Intent(this,MainShopPage.class);
startActivity(intent);
}
} }
\ No newline at end of file
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
android:id="@+id/button17" android:id="@+id/button17"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:onClick="SelfServiceMode"
android:text="Cart and Checkout" /> android:text="Cart and Checkout" />
<Button <Button
...@@ -87,7 +88,7 @@ ...@@ -87,7 +88,7 @@
<Button <Button
android:id="@+id/button43" android:id="@+id/button43"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="0dp"
android:onClick="ShutItAllDown" /> android:onClick="ShutItAllDown" />
</LinearLayout> </LinearLayout>
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
android:id="@+id/button20" android:id="@+id/button20"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:onClick="SelfServiceMode"
android:text="Cart and Checkout" /> android:text="Cart and Checkout" />
<Button <Button
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment