GithubHelp home page GithubHelp logo

maiqxx / cks Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 3.79 MB

A kiosk system for small businesses.

License: Apache License 2.0

C# 100.00%
business-solutions desktop-app erp-application inventory-management kiosk ordering-system

cks's Introduction

CKS - Carinderia Kiosk System

This system aims to make the lives of these small business vendors easier by automating their day-to-day tasks, and it aims to simplify the lives of their customers by providing an easy-to-use system through which they can place their orders.

Features:

  • Proprietor:
    • View yearly, monthly, weekly, and daily sales.
    • Manage orders
    • Manage menu categories
    • Manage inventory stock items
    • Manage staff members
    • Manage account settings
  • Customer:
    • Add, modify, remove orders
    • Place order
    • Add feedback
    • View order summary

cks's People

Contributors

maiqxx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

ch-danish

cks's Issues

Database Issue

ALGORITHM=COPY is not supported. Reason: Columns participating in a foreign key are renamed. Try ALGORITHM=INPLACE
image

Object reference not set to an instance of an object.

System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Carinderia-Kiosk-System
StackTrace:
at Carinderia_Kiosk_System.Customer.MenuBoard.btnAddToCart_Click(Object sender, EventArgs e) in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 165

image

Visual Studio cannot start debugging - Carinderia-Kiosk-System.exe'is missing

Visual Studio cannot start debugging because the debug target
'C.:\Users\Name\source\repos\Carinderia-Kiosk-System\Carinderia-Ki
osk-System\bin\Debug\Carinderia-Kiosk-System.exe'is missing. Please
build the project and retry, or set the OutputPath and AssemblyName
properties appropriately to point at the correct location for the target assembly.

Object cannot be cast from DBNull to other types.

System.InvalidCastException
HResult=0x80004002
Message=Object cannot be cast from DBNull to other types.
Source=mscorlib
StackTrace:
at System.DBNull.System.IConvertible.ToDouble(IFormatProvider provider)
at System.Convert.ToDouble(Object value)
at Carinderia_Kiosk_System.Customer.MenuBoard.TotalAmount() in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 225
at Carinderia_Kiosk_System.Customer.MenuBoard.GetOrderList() in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 315
at Carinderia_Kiosk_System.Customer.MenuBoard.MenuBoard_Load(Object sender, EventArgs e) in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 41
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

image

Issues/Errors in Inventory Data Grid View

Discussed in #4

Originally posted by maiqxx January 2, 2023
Error in DataGridView in Inventory:

The following exception occurred in the DataGridView:
System.ArgumentException: Parameter is not valid. at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validatelmageData) at
System.Drawing.ImageConverter.ConvertFromITypeDescriptor
Context context, Cultureinfo culture, Object value) at
System.Windows.Forms.Formatter.FormatObjectinternal(Objec t value, Type targetType, TypeConverter sourceConverter, TypeConverter targetConverter, String formatString,
IFormatProvider formatinfo, Object formattedNulIValue) at System.Windows.Forms.Formatter.FormatObject(Object value, Type targetType, TypeConverter sourceConverter, TypeConverter targetConverter, String formatString, IFormatProvider formatinfo, Object formattedNulIValue,
Object dataSourceNulIValue)
at
System.Windows.Forms.DataGridViewCell.GetFormattedValue(
Object value, Int32 rowindex, DataGridViewCellStyle& cellStyle, TypeConverter valueTypeConverter, TypeConverter formattedValueTypeConverter,
DataGridViewDataErrorContexts context)
To replace this default dialog please handle the DataError event.

image

Subquery returns more than 1 row

Tried to copy orders from CUSTOMER table to INVOICE but returns this exception message:
image
image

I've encountered this before... I need to think another alternative way, maybe transactions will be only recorded directly to TRANSACTION table.

GetBytes can only be called from binary or guid columns

MySql.Data.MySqlClient.MySqlException
HResult=0x80004005
Message=GetBytes can only be called on binary or guid columns
Source=MySql.Data
StackTrace:
at MySql.Data.MySqlClient.Interceptors.ExceptionInterceptor.Throw(Exception exception)
at MySql.Data.MySqlClient.MySqlConnection.Throw(Exception ex)
at MySql.Data.MySqlClient.MySqlDataReader.Throw(Exception ex)
at MySql.Data.MySqlClient.MySqlDataReader.GetBytes(Int32 i, Int64 fieldOffset, Byte[] buffer, Int32 bufferoffset, Int32 length)
at Carinderia_Kiosk_System.Customer.MenuBoard.GetData() in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 53
at Carinderia_Kiosk_System.Customer.MenuBoard.MenuBoard_Load(Object sender, EventArgs e) in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 37
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

image

Root element is missing.

Instances of this error (1)

  1. Hide Call Stack

at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Resources.ResXResourceReader.ParseXml(XmlTextReader reader)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.