964d0a78bf
Added Voucher Type During Printing Added Discount Report Fixed Void bill table not getting cleared error Added PAX to table Removed Itital Setup button in MainForm as it was not doing anything
711 lines
36 KiB
C#
711 lines
36 KiB
C#
using System.Collections.Generic;
|
|
using Tanshu.Accounts.Entities;
|
|
|
|
namespace Tanshu.Accounts.PointOfSale.Sales
|
|
{
|
|
partial class SalesForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.txtDiscount = new System.Windows.Forms.TextBox();
|
|
this.Label12 = new System.Windows.Forms.Label();
|
|
this.txtGrossAmount = new System.Windows.Forms.TextBox();
|
|
this.txtAmount = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.txtGrossTax = new System.Windows.Forms.TextBox();
|
|
this.dgvProducts = new System.Windows.Forms.DataGridView();
|
|
this.Display = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.printedDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.bindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.pnlBilling = new System.Windows.Forms.Panel();
|
|
this.flpMain = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.flpGroup = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.flpActions = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.btnQuantity = new System.Windows.Forms.Button();
|
|
this.btnRate = new System.Windows.Forms.Button();
|
|
this.btnDelete = new System.Windows.Forms.Button();
|
|
this.btnDiscount = new System.Windows.Forms.Button();
|
|
this.btnModifier = new System.Windows.Forms.Button();
|
|
this.btnWaiter = new System.Windows.Forms.Button();
|
|
this.btnPrintKot = new System.Windows.Forms.Button();
|
|
this.btnMoveTable = new System.Windows.Forms.Button();
|
|
this.btnPrintBill = new System.Windows.Forms.Button();
|
|
this.btnClear = new System.Windows.Forms.Button();
|
|
this.btnVoid = new System.Windows.Forms.Button();
|
|
this.btnSettle = new System.Windows.Forms.Button();
|
|
this.btnMore = new System.Windows.Forms.Button();
|
|
this.btnMoveKot = new System.Windows.Forms.Button();
|
|
this.btnSplitBill = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.txtServiceCharge = new System.Windows.Forms.TextBox();
|
|
this.txtTableID = new System.Windows.Forms.TextBox();
|
|
this.label11 = new System.Windows.Forms.Label();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.txtDate = new System.Windows.Forms.TextBox();
|
|
this.txtLastEditDate = new System.Windows.Forms.TextBox();
|
|
this.txtCreationDate = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtBillID = new System.Windows.Forms.TextBox();
|
|
this.txtKotID = new System.Windows.Forms.TextBox();
|
|
this.btnCustomer = new System.Windows.Forms.Button();
|
|
this.bsWaiter = new System.Windows.Forms.BindingSource(this.components);
|
|
this.bsPending = new System.Windows.Forms.BindingSource(this.components);
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.txtPax = new System.Windows.Forms.TextBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvProducts)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();
|
|
this.pnlBilling.SuspendLayout();
|
|
this.flpActions.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsWaiter)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsPending)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(12, 511);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(49, 13);
|
|
this.label7.TabIndex = 112;
|
|
this.label7.Text = "Discount";
|
|
this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
|
//
|
|
// txtDiscount
|
|
//
|
|
this.txtDiscount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.txtDiscount.Location = new System.Drawing.Point(64, 508);
|
|
this.txtDiscount.Name = "txtDiscount";
|
|
this.txtDiscount.ReadOnly = true;
|
|
this.txtDiscount.Size = new System.Drawing.Size(120, 20);
|
|
this.txtDiscount.TabIndex = 113;
|
|
this.txtDiscount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// Label12
|
|
//
|
|
this.Label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.Label12.AutoSize = true;
|
|
this.Label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.Label12.Location = new System.Drawing.Point(222, 565);
|
|
this.Label12.Name = "Label12";
|
|
this.Label12.Size = new System.Drawing.Size(36, 13);
|
|
this.Label12.TabIndex = 116;
|
|
this.Label12.Text = "Total";
|
|
this.Label12.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
|
//
|
|
// txtGrossAmount
|
|
//
|
|
this.txtGrossAmount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.txtGrossAmount.Location = new System.Drawing.Point(64, 534);
|
|
this.txtGrossAmount.Name = "txtGrossAmount";
|
|
this.txtGrossAmount.ReadOnly = true;
|
|
this.txtGrossAmount.Size = new System.Drawing.Size(120, 20);
|
|
this.txtGrossAmount.TabIndex = 109;
|
|
this.txtGrossAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// txtAmount
|
|
//
|
|
this.txtAmount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.txtAmount.BackColor = System.Drawing.Color.Black;
|
|
this.txtAmount.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtAmount.ForeColor = System.Drawing.Color.Transparent;
|
|
this.txtAmount.Location = new System.Drawing.Point(264, 560);
|
|
this.txtAmount.Name = "txtAmount";
|
|
this.txtAmount.ReadOnly = true;
|
|
this.txtAmount.Size = new System.Drawing.Size(120, 22);
|
|
this.txtAmount.TabIndex = 107;
|
|
this.txtAmount.Text = "0.00";
|
|
this.txtAmount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(12, 537);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(46, 13);
|
|
this.label6.TabIndex = 108;
|
|
this.label6.Text = "Subtotal";
|
|
this.label6.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(220, 537);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(36, 13);
|
|
this.label5.TabIndex = 110;
|
|
this.label5.Text = "Taxes";
|
|
this.label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
|
//
|
|
// txtGrossTax
|
|
//
|
|
this.txtGrossTax.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.txtGrossTax.Location = new System.Drawing.Point(264, 534);
|
|
this.txtGrossTax.Name = "txtGrossTax";
|
|
this.txtGrossTax.ReadOnly = true;
|
|
this.txtGrossTax.Size = new System.Drawing.Size(120, 20);
|
|
this.txtGrossTax.TabIndex = 111;
|
|
this.txtGrossTax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// dgvProducts
|
|
//
|
|
this.dgvProducts.AllowUserToAddRows = false;
|
|
this.dgvProducts.AllowUserToDeleteRows = false;
|
|
this.dgvProducts.AllowUserToOrderColumns = true;
|
|
this.dgvProducts.AllowUserToResizeRows = false;
|
|
this.dgvProducts.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.dgvProducts.AutoGenerateColumns = false;
|
|
this.dgvProducts.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCellsExceptHeader;
|
|
this.dgvProducts.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders;
|
|
this.dgvProducts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvProducts.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.Display,
|
|
this.printedDataGridViewTextBoxColumn});
|
|
this.dgvProducts.DataSource = this.bindingSource;
|
|
this.dgvProducts.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
|
this.dgvProducts.Location = new System.Drawing.Point(12, 90);
|
|
this.dgvProducts.MultiSelect = false;
|
|
this.dgvProducts.Name = "dgvProducts";
|
|
this.dgvProducts.RowHeadersVisible = false;
|
|
this.dgvProducts.RowTemplate.Height = 19;
|
|
this.dgvProducts.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dgvProducts.Size = new System.Drawing.Size(372, 412);
|
|
this.dgvProducts.TabIndex = 0;
|
|
this.dgvProducts.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgvProducts_CellFormatting);
|
|
//
|
|
// Display
|
|
//
|
|
this.Display.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
|
|
this.Display.DataPropertyName = "Display";
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.Display.DefaultCellStyle = dataGridViewCellStyle1;
|
|
this.Display.HeaderText = "Display";
|
|
this.Display.MinimumWidth = 250;
|
|
this.Display.Name = "Display";
|
|
this.Display.ReadOnly = true;
|
|
this.Display.Width = 250;
|
|
//
|
|
// printedDataGridViewTextBoxColumn
|
|
//
|
|
this.printedDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
|
|
this.printedDataGridViewTextBoxColumn.DataPropertyName = "Quantity";
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
dataGridViewCellStyle2.Format = "N2";
|
|
this.printedDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
|
|
this.printedDataGridViewTextBoxColumn.HeaderText = "Printed";
|
|
this.printedDataGridViewTextBoxColumn.Name = "printedDataGridViewTextBoxColumn";
|
|
this.printedDataGridViewTextBoxColumn.ReadOnly = true;
|
|
this.printedDataGridViewTextBoxColumn.Width = 65;
|
|
//
|
|
// bindingSource
|
|
//
|
|
this.bindingSource.DataSource = typeof(Tanshu.Accounts.Contracts.BillItemValue);
|
|
//
|
|
// pnlBilling
|
|
//
|
|
this.pnlBilling.AutoSize = true;
|
|
this.pnlBilling.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.pnlBilling.Controls.Add(this.label10);
|
|
this.pnlBilling.Controls.Add(this.txtPax);
|
|
this.pnlBilling.Controls.Add(this.flpMain);
|
|
this.pnlBilling.Controls.Add(this.flpGroup);
|
|
this.pnlBilling.Controls.Add(this.flpActions);
|
|
this.pnlBilling.Controls.Add(this.label1);
|
|
this.pnlBilling.Controls.Add(this.txtServiceCharge);
|
|
this.pnlBilling.Controls.Add(this.txtTableID);
|
|
this.pnlBilling.Controls.Add(this.label11);
|
|
this.pnlBilling.Controls.Add(this.label9);
|
|
this.pnlBilling.Controls.Add(this.label8);
|
|
this.pnlBilling.Controls.Add(this.label4);
|
|
this.pnlBilling.Controls.Add(this.txtDate);
|
|
this.pnlBilling.Controls.Add(this.txtLastEditDate);
|
|
this.pnlBilling.Controls.Add(this.txtCreationDate);
|
|
this.pnlBilling.Controls.Add(this.label3);
|
|
this.pnlBilling.Controls.Add(this.label2);
|
|
this.pnlBilling.Controls.Add(this.txtBillID);
|
|
this.pnlBilling.Controls.Add(this.txtKotID);
|
|
this.pnlBilling.Controls.Add(this.btnCustomer);
|
|
this.pnlBilling.Controls.Add(this.dgvProducts);
|
|
this.pnlBilling.Controls.Add(this.txtGrossTax);
|
|
this.pnlBilling.Controls.Add(this.label5);
|
|
this.pnlBilling.Controls.Add(this.label6);
|
|
this.pnlBilling.Controls.Add(this.txtAmount);
|
|
this.pnlBilling.Controls.Add(this.txtGrossAmount);
|
|
this.pnlBilling.Controls.Add(this.Label12);
|
|
this.pnlBilling.Controls.Add(this.txtDiscount);
|
|
this.pnlBilling.Controls.Add(this.label7);
|
|
this.pnlBilling.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pnlBilling.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlBilling.Name = "pnlBilling";
|
|
this.pnlBilling.Size = new System.Drawing.Size(982, 688);
|
|
this.pnlBilling.TabIndex = 121;
|
|
//
|
|
// flpMain
|
|
//
|
|
this.flpMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.flpMain.Location = new System.Drawing.Point(390, 54);
|
|
this.flpMain.Name = "flpMain";
|
|
this.flpMain.Size = new System.Drawing.Size(511, 552);
|
|
this.flpMain.TabIndex = 159;
|
|
//
|
|
// flpGroup
|
|
//
|
|
this.flpGroup.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.flpGroup.Location = new System.Drawing.Point(901, 0);
|
|
this.flpGroup.Name = "flpGroup";
|
|
this.flpGroup.Size = new System.Drawing.Size(81, 607);
|
|
this.flpGroup.TabIndex = 158;
|
|
//
|
|
// flpActions
|
|
//
|
|
this.flpActions.Controls.Add(this.btnQuantity);
|
|
this.flpActions.Controls.Add(this.btnRate);
|
|
this.flpActions.Controls.Add(this.btnDelete);
|
|
this.flpActions.Controls.Add(this.btnDiscount);
|
|
this.flpActions.Controls.Add(this.btnModifier);
|
|
this.flpActions.Controls.Add(this.btnWaiter);
|
|
this.flpActions.Controls.Add(this.btnPrintKot);
|
|
this.flpActions.Controls.Add(this.btnMoveTable);
|
|
this.flpActions.Controls.Add(this.btnPrintBill);
|
|
this.flpActions.Controls.Add(this.btnClear);
|
|
this.flpActions.Controls.Add(this.btnVoid);
|
|
this.flpActions.Controls.Add(this.btnSettle);
|
|
this.flpActions.Controls.Add(this.btnMore);
|
|
this.flpActions.Controls.Add(this.btnMoveKot);
|
|
this.flpActions.Controls.Add(this.btnSplitBill);
|
|
this.flpActions.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.flpActions.Location = new System.Drawing.Point(0, 607);
|
|
this.flpActions.Name = "flpActions";
|
|
this.flpActions.Size = new System.Drawing.Size(982, 81);
|
|
this.flpActions.TabIndex = 157;
|
|
//
|
|
// btnQuantity
|
|
//
|
|
this.btnQuantity.Location = new System.Drawing.Point(3, 3);
|
|
this.btnQuantity.Name = "btnQuantity";
|
|
this.btnQuantity.Size = new System.Drawing.Size(75, 75);
|
|
this.btnQuantity.TabIndex = 141;
|
|
this.btnQuantity.Text = "Quantity - F2";
|
|
this.btnQuantity.UseVisualStyleBackColor = true;
|
|
this.btnQuantity.Click += new System.EventHandler(this.btnQuantity_Click);
|
|
//
|
|
// btnRate
|
|
//
|
|
this.btnRate.Location = new System.Drawing.Point(84, 3);
|
|
this.btnRate.Name = "btnRate";
|
|
this.btnRate.Size = new System.Drawing.Size(75, 75);
|
|
this.btnRate.TabIndex = 146;
|
|
this.btnRate.Text = "&Rate";
|
|
this.btnRate.UseVisualStyleBackColor = true;
|
|
this.btnRate.Click += new System.EventHandler(this.btnRate_Click);
|
|
//
|
|
// btnDelete
|
|
//
|
|
this.btnDelete.Location = new System.Drawing.Point(165, 3);
|
|
this.btnDelete.Name = "btnDelete";
|
|
this.btnDelete.Size = new System.Drawing.Size(75, 75);
|
|
this.btnDelete.TabIndex = 157;
|
|
this.btnDelete.Text = "Delete";
|
|
this.btnDelete.UseVisualStyleBackColor = true;
|
|
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
|
|
//
|
|
// btnDiscount
|
|
//
|
|
this.btnDiscount.Location = new System.Drawing.Point(246, 3);
|
|
this.btnDiscount.Name = "btnDiscount";
|
|
this.btnDiscount.Size = new System.Drawing.Size(75, 75);
|
|
this.btnDiscount.TabIndex = 142;
|
|
this.btnDiscount.Text = "Discount - F3";
|
|
this.btnDiscount.UseVisualStyleBackColor = true;
|
|
this.btnDiscount.Click += new System.EventHandler(this.btnDiscount_Click);
|
|
//
|
|
// btnModifier
|
|
//
|
|
this.btnModifier.Location = new System.Drawing.Point(327, 3);
|
|
this.btnModifier.Name = "btnModifier";
|
|
this.btnModifier.Size = new System.Drawing.Size(75, 75);
|
|
this.btnModifier.TabIndex = 156;
|
|
this.btnModifier.Text = "Modifier";
|
|
this.btnModifier.UseVisualStyleBackColor = true;
|
|
this.btnModifier.Click += new System.EventHandler(this.btnModifier_Click);
|
|
//
|
|
// btnWaiter
|
|
//
|
|
this.btnWaiter.Location = new System.Drawing.Point(408, 3);
|
|
this.btnWaiter.Name = "btnWaiter";
|
|
this.btnWaiter.Size = new System.Drawing.Size(75, 75);
|
|
this.btnWaiter.TabIndex = 150;
|
|
this.btnWaiter.Text = "Select Waiter - F5";
|
|
this.btnWaiter.UseVisualStyleBackColor = true;
|
|
this.btnWaiter.Click += new System.EventHandler(this.btnWaiter_Click);
|
|
//
|
|
// btnPrintKot
|
|
//
|
|
this.btnPrintKot.Location = new System.Drawing.Point(489, 3);
|
|
this.btnPrintKot.Name = "btnPrintKot";
|
|
this.btnPrintKot.Size = new System.Drawing.Size(75, 75);
|
|
this.btnPrintKot.TabIndex = 145;
|
|
this.btnPrintKot.Text = "Print KOT - F12";
|
|
this.btnPrintKot.UseVisualStyleBackColor = true;
|
|
this.btnPrintKot.Click += new System.EventHandler(this.btnPrintKot_Click);
|
|
//
|
|
// btnMoveTable
|
|
//
|
|
this.btnMoveTable.Location = new System.Drawing.Point(570, 3);
|
|
this.btnMoveTable.Name = "btnMoveTable";
|
|
this.btnMoveTable.Size = new System.Drawing.Size(75, 75);
|
|
this.btnMoveTable.TabIndex = 158;
|
|
this.btnMoveTable.Text = "Move Table";
|
|
this.btnMoveTable.UseVisualStyleBackColor = true;
|
|
this.btnMoveTable.Click += new System.EventHandler(this.btnMoveTable_Click);
|
|
//
|
|
// btnPrintBill
|
|
//
|
|
this.btnPrintBill.Location = new System.Drawing.Point(651, 3);
|
|
this.btnPrintBill.Name = "btnPrintBill";
|
|
this.btnPrintBill.Size = new System.Drawing.Size(75, 75);
|
|
this.btnPrintBill.TabIndex = 144;
|
|
this.btnPrintBill.Text = "Print Bill - F11";
|
|
this.btnPrintBill.UseVisualStyleBackColor = true;
|
|
this.btnPrintBill.Click += new System.EventHandler(this.btnPrintBill_Click);
|
|
//
|
|
// btnClear
|
|
//
|
|
this.btnClear.Location = new System.Drawing.Point(732, 3);
|
|
this.btnClear.Name = "btnClear";
|
|
this.btnClear.Size = new System.Drawing.Size(75, 75);
|
|
this.btnClear.TabIndex = 148;
|
|
this.btnClear.Text = "Clear - Esc";
|
|
this.btnClear.UseVisualStyleBackColor = true;
|
|
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
|
|
//
|
|
// btnVoid
|
|
//
|
|
this.btnVoid.Location = new System.Drawing.Point(813, 3);
|
|
this.btnVoid.Name = "btnVoid";
|
|
this.btnVoid.Size = new System.Drawing.Size(75, 75);
|
|
this.btnVoid.TabIndex = 143;
|
|
this.btnVoid.Text = "Void Bill";
|
|
this.btnVoid.UseVisualStyleBackColor = true;
|
|
this.btnVoid.Click += new System.EventHandler(this.btnVoid_Click);
|
|
//
|
|
// btnSettle
|
|
//
|
|
this.btnSettle.Location = new System.Drawing.Point(894, 3);
|
|
this.btnSettle.Name = "btnSettle";
|
|
this.btnSettle.Size = new System.Drawing.Size(75, 75);
|
|
this.btnSettle.TabIndex = 155;
|
|
this.btnSettle.Text = "Settle Bill";
|
|
this.btnSettle.UseVisualStyleBackColor = true;
|
|
this.btnSettle.Click += new System.EventHandler(this.btnSettle_Click);
|
|
//
|
|
// btnMore
|
|
//
|
|
this.btnMore.Location = new System.Drawing.Point(3, 84);
|
|
this.btnMore.Name = "btnMore";
|
|
this.btnMore.Size = new System.Drawing.Size(75, 75);
|
|
this.btnMore.TabIndex = 159;
|
|
this.btnMore.Text = "More";
|
|
this.btnMore.UseVisualStyleBackColor = true;
|
|
this.btnMore.Click += new System.EventHandler(this.btnMore_Click);
|
|
//
|
|
// btnMoveKot
|
|
//
|
|
this.btnMoveKot.Location = new System.Drawing.Point(84, 84);
|
|
this.btnMoveKot.Name = "btnMoveKot";
|
|
this.btnMoveKot.Size = new System.Drawing.Size(75, 75);
|
|
this.btnMoveKot.TabIndex = 160;
|
|
this.btnMoveKot.Text = "Move Kot";
|
|
this.btnMoveKot.UseVisualStyleBackColor = true;
|
|
this.btnMoveKot.Click += new System.EventHandler(this.btnMoveKot_Click);
|
|
//
|
|
// btnSplitBill
|
|
//
|
|
this.btnSplitBill.Location = new System.Drawing.Point(165, 84);
|
|
this.btnSplitBill.Name = "btnSplitBill";
|
|
this.btnSplitBill.Size = new System.Drawing.Size(75, 75);
|
|
this.btnSplitBill.TabIndex = 161;
|
|
this.btnSplitBill.Text = "Split Bill";
|
|
this.btnSplitBill.UseVisualStyleBackColor = true;
|
|
this.btnSplitBill.Click += new System.EventHandler(this.btnSplitBill_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(235, 511);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(21, 13);
|
|
this.label1.TabIndex = 154;
|
|
this.label1.Text = "SC";
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
|
|
//
|
|
// txtServiceCharge
|
|
//
|
|
this.txtServiceCharge.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.txtServiceCharge.Location = new System.Drawing.Point(264, 508);
|
|
this.txtServiceCharge.Name = "txtServiceCharge";
|
|
this.txtServiceCharge.ReadOnly = true;
|
|
this.txtServiceCharge.Size = new System.Drawing.Size(120, 20);
|
|
this.txtServiceCharge.TabIndex = 153;
|
|
this.txtServiceCharge.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// txtTableID
|
|
//
|
|
this.txtTableID.Location = new System.Drawing.Point(390, 28);
|
|
this.txtTableID.Name = "txtTableID";
|
|
this.txtTableID.ReadOnly = true;
|
|
this.txtTableID.Size = new System.Drawing.Size(93, 20);
|
|
this.txtTableID.TabIndex = 140;
|
|
//
|
|
// label11
|
|
//
|
|
this.label11.AutoSize = true;
|
|
this.label11.Location = new System.Drawing.Point(387, 12);
|
|
this.label11.Name = "label11";
|
|
this.label11.Size = new System.Drawing.Size(34, 13);
|
|
this.label11.TabIndex = 139;
|
|
this.label11.Text = "Table";
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.Location = new System.Drawing.Point(259, 12);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(55, 13);
|
|
this.label9.TabIndex = 136;
|
|
this.label9.Text = "Start Time";
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(486, 12);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(84, 13);
|
|
this.label8.TabIndex = 135;
|
|
this.label8.Text = "Bill Printing Time";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(645, 12);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(74, 13);
|
|
this.label4.TabIndex = 134;
|
|
this.label4.Text = "Last Edit Time";
|
|
//
|
|
// txtDate
|
|
//
|
|
this.txtDate.Location = new System.Drawing.Point(489, 28);
|
|
this.txtDate.Name = "txtDate";
|
|
this.txtDate.ReadOnly = true;
|
|
this.txtDate.Size = new System.Drawing.Size(153, 20);
|
|
this.txtDate.TabIndex = 133;
|
|
//
|
|
// txtLastEditDate
|
|
//
|
|
this.txtLastEditDate.Location = new System.Drawing.Point(648, 28);
|
|
this.txtLastEditDate.Name = "txtLastEditDate";
|
|
this.txtLastEditDate.ReadOnly = true;
|
|
this.txtLastEditDate.Size = new System.Drawing.Size(153, 20);
|
|
this.txtLastEditDate.TabIndex = 132;
|
|
//
|
|
// txtCreationDate
|
|
//
|
|
this.txtCreationDate.Location = new System.Drawing.Point(262, 28);
|
|
this.txtCreationDate.Name = "txtCreationDate";
|
|
this.txtCreationDate.ReadOnly = true;
|
|
this.txtCreationDate.Size = new System.Drawing.Size(122, 20);
|
|
this.txtCreationDate.TabIndex = 131;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(124, 12);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(69, 13);
|
|
this.label3.TabIndex = 130;
|
|
this.label3.Text = "KOT Number";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(9, 12);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(60, 13);
|
|
this.label2.TabIndex = 129;
|
|
this.label2.Text = "Bill Number";
|
|
//
|
|
// txtBillID
|
|
//
|
|
this.txtBillID.Location = new System.Drawing.Point(12, 28);
|
|
this.txtBillID.Name = "txtBillID";
|
|
this.txtBillID.ReadOnly = true;
|
|
this.txtBillID.Size = new System.Drawing.Size(109, 20);
|
|
this.txtBillID.TabIndex = 128;
|
|
//
|
|
// txtKotID
|
|
//
|
|
this.txtKotID.Location = new System.Drawing.Point(127, 28);
|
|
this.txtKotID.Name = "txtKotID";
|
|
this.txtKotID.ReadOnly = true;
|
|
this.txtKotID.Size = new System.Drawing.Size(129, 20);
|
|
this.txtKotID.TabIndex = 127;
|
|
//
|
|
// btnCustomer
|
|
//
|
|
this.btnCustomer.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnCustomer.ForeColor = System.Drawing.Color.Red;
|
|
this.btnCustomer.Location = new System.Drawing.Point(12, 54);
|
|
this.btnCustomer.Name = "btnCustomer";
|
|
this.btnCustomer.Size = new System.Drawing.Size(372, 34);
|
|
this.btnCustomer.TabIndex = 126;
|
|
this.btnCustomer.UseVisualStyleBackColor = true;
|
|
this.btnCustomer.Click += new System.EventHandler(this.btnCustomer_Click);
|
|
//
|
|
// bsWaiter
|
|
//
|
|
this.bsWaiter.DataSource = typeof(Tanshu.Accounts.Entities.Waiter);
|
|
//
|
|
// bsPending
|
|
//
|
|
this.bsPending.DataSource = typeof(Tanshu.Accounts.Contracts.PendingBills);
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.Location = new System.Drawing.Point(804, 12);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(25, 13);
|
|
this.label10.TabIndex = 161;
|
|
this.label10.Text = "Pax";
|
|
//
|
|
// txtPax
|
|
//
|
|
this.txtPax.Location = new System.Drawing.Point(807, 28);
|
|
this.txtPax.Name = "txtPax";
|
|
this.txtPax.ReadOnly = true;
|
|
this.txtPax.Size = new System.Drawing.Size(88, 20);
|
|
this.txtPax.TabIndex = 160;
|
|
//
|
|
// SalesForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(982, 688);
|
|
this.Controls.Add(this.pnlBilling);
|
|
this.KeyPreview = true;
|
|
this.MaximizeBox = false;
|
|
this.Name = "SalesForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "F2-Qty., F3-Discount, F4-Customer, F5-Waiter, F7-Product, F8-LoadBill, F9-Set Amo" +
|
|
"unt, F11-Print Bill, F12-Print KOT, ESC-Cancel";
|
|
this.Load += new System.EventHandler(this.SalesForm_Load);
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SalesForm_KeyDown);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvProducts)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource)).EndInit();
|
|
this.pnlBilling.ResumeLayout(false);
|
|
this.pnlBilling.PerformLayout();
|
|
this.flpActions.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.bsWaiter)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.bsPending)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.BindingSource bindingSource;
|
|
private System.Windows.Forms.BindingSource bsWaiter;
|
|
private System.Windows.Forms.BindingSource bsPending;
|
|
internal System.Windows.Forms.Label label7;
|
|
internal System.Windows.Forms.TextBox txtDiscount;
|
|
internal System.Windows.Forms.Label Label12;
|
|
internal System.Windows.Forms.TextBox txtGrossAmount;
|
|
internal System.Windows.Forms.TextBox txtAmount;
|
|
internal System.Windows.Forms.Label label6;
|
|
internal System.Windows.Forms.Label label5;
|
|
internal System.Windows.Forms.TextBox txtGrossTax;
|
|
private System.Windows.Forms.DataGridView dgvProducts;
|
|
private System.Windows.Forms.Panel pnlBilling;
|
|
private System.Windows.Forms.Button btnCustomer;
|
|
private System.Windows.Forms.TextBox txtBillID;
|
|
private System.Windows.Forms.TextBox txtKotID;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox txtDate;
|
|
private System.Windows.Forms.TextBox txtLastEditDate;
|
|
private System.Windows.Forms.TextBox txtCreationDate;
|
|
private System.Windows.Forms.TextBox txtTableID;
|
|
private System.Windows.Forms.Label label11;
|
|
private System.Windows.Forms.Button btnDiscount;
|
|
private System.Windows.Forms.Button btnQuantity;
|
|
private System.Windows.Forms.Button btnPrintKot;
|
|
private System.Windows.Forms.Button btnPrintBill;
|
|
private System.Windows.Forms.Button btnVoid;
|
|
private System.Windows.Forms.Button btnRate;
|
|
private System.Windows.Forms.Button btnClear;
|
|
private System.Windows.Forms.Button btnWaiter;
|
|
internal System.Windows.Forms.Label label1;
|
|
internal System.Windows.Forms.TextBox txtServiceCharge;
|
|
private System.Windows.Forms.Button btnSettle;
|
|
private System.Windows.Forms.FlowLayoutPanel flpActions;
|
|
private System.Windows.Forms.Button btnModifier;
|
|
private System.Windows.Forms.FlowLayoutPanel flpGroup;
|
|
private System.Windows.Forms.FlowLayoutPanel flpMain;
|
|
private System.Windows.Forms.Button btnDelete;
|
|
private System.Windows.Forms.Button btnMoveTable;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Display;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn printedDataGridViewTextBoxColumn;
|
|
private System.Windows.Forms.Button btnMore;
|
|
private System.Windows.Forms.Button btnMoveKot;
|
|
private readonly BillController _billController;
|
|
private System.Windows.Forms.Button btnSplitBill;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.TextBox txtPax;
|
|
}
|
|
}
|
|
|