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 {
startActivity(intent);
}
public void SelfServiceMode (View view){
Intent intent = new Intent(this,CheckoutScreen.class);
startActivity(intent);
}
public void CogwheelsTurning (View view){
Intent intent = new Intent(this,Settings.class);
startActivity(intent);
......
......@@ -108,4 +108,9 @@ public class UserMenu extends AppCompatActivity {
Intent intent = new Intent(this,Settings.class);
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 @@
android:id="@+id/button17"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="SelfServiceMode"
android:text="Cart and Checkout" />
<Button
......@@ -87,7 +88,7 @@
<Button
android:id="@+id/button43"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="0dp"
android:onClick="ShutItAllDown" />
</LinearLayout>
......
......@@ -42,6 +42,7 @@
android:id="@+id/button20"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="SelfServiceMode"
android:text="Cart and Checkout" />
<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