Commit 3bea1d19 by Elias Sarraf

minor cleanup

parent 98a86152
...@@ -51,7 +51,6 @@ implementation ...@@ -51,7 +51,6 @@ implementation
{$R *.dfm} {$R *.dfm}
class function TFAddOrder.CreateForm(AElementID: string): TWebForm; class function TFAddOrder.CreateForm(AElementID: string): TWebForm;
begin begin
Application.CreateForm(TFAddOrder, AElementID, Result, Application.CreateForm(TFAddOrder, AElementID, Result,
...@@ -72,7 +71,7 @@ begin ...@@ -72,7 +71,7 @@ begin
end; end;
[async] procedure TFAddOrder.getCustomers(); [async] procedure TFAddOrder.GetCustomers();
var var
xdcResponse: TXDataClientResponse; xdcResponse: TXDataClientResponse;
customerList: TJSObject; customerList: TJSObject;
...@@ -131,6 +130,7 @@ begin ...@@ -131,6 +130,7 @@ begin
end; end;
end; end;
procedure TFAddOrder.TMSFNCGrid1SelectedCell(Sender: TObject; ACol, procedure TFAddOrder.TMSFNCGrid1SelectedCell(Sender: TObject; ACol,
ARow: Integer); ARow: Integer);
begin begin
...@@ -167,12 +167,12 @@ begin ...@@ -167,12 +167,12 @@ begin
end; end;
procedure TFAddOrder.cbCorrugatedPlateClick(Sender: TObject); procedure TFAddOrder.cbCorrugatedPlateClick(Sender: TObject);
begin begin
cbWebPlate.Checked := False; cbWebPlate.Checked := False;
end; end;
procedure TFAddOrder.cbWebPlateClick(Sender: TObject); procedure TFAddOrder.cbWebPlateClick(Sender: TObject);
begin begin
cbCorrugatedPlate.Checked := False; cbCorrugatedPlate.Checked := False;
...@@ -184,19 +184,13 @@ begin ...@@ -184,19 +184,13 @@ begin
window.location.reload(true); window.location.reload(true);
end; end;
procedure TFAddOrder.btnCancelClick(Sender: TObject); procedure TFAddOrder.btnCancelClick(Sender: TObject);
var
PanelElement: TJSHTMLElement;
begin begin
edtID.Text := ''; edtID.Text := '';
Close; Close;
end; end;
end. end.
...@@ -82,7 +82,7 @@ object FViewOrders: TFViewOrders ...@@ -82,7 +82,7 @@ object FViewOrders: TFViewOrders
TabOrder = 1 TabOrder = 1
WidthPercent = 100.000000000000000000 WidthPercent = 100.000000000000000000
end end
object btnaddOrder: TWebButton object btnAddOrder: TWebButton
Left = 59 Left = 59
Top = 79 Top = 79
Width = 96 Width = 96
...@@ -96,7 +96,7 @@ object FViewOrders: TFViewOrders ...@@ -96,7 +96,7 @@ object FViewOrders: TFViewOrders
TabOrder = 6 TabOrder = 6
TabStop = False TabStop = False
WidthPercent = 100.000000000000000000 WidthPercent = 100.000000000000000000
OnClick = btnaddOrderClick OnClick = btnAddOrderClick
end end
object btnFilters: TWebButton object btnFilters: TWebButton
Left = 462 Left = 462
......
...@@ -39,7 +39,7 @@ type ...@@ -39,7 +39,7 @@ type
XDataWebDataSet1ID: TStringField; XDataWebDataSet1ID: TStringField;
XDataWebDataSet1qbRefNum: TStringField; XDataWebDataSet1qbRefNum: TStringField;
XDataWebDataSet1colors: TStringField; XDataWebDataSet1colors: TStringField;
btnaddOrder: TWebButton; btnAddOrder: TWebButton;
btnFilters: TWebButton; btnFilters: TWebButton;
dtpStartDate: TWebDateTimePicker; dtpStartDate: TWebDateTimePicker;
dtpEndDate: TWebDateTimePicker; dtpEndDate: TWebDateTimePicker;
...@@ -63,7 +63,7 @@ type ...@@ -63,7 +63,7 @@ type
procedure WebFormCreate(Sender: TObject); procedure WebFormCreate(Sender: TObject);
procedure btnApplyClick(Sender: TObject); procedure btnApplyClick(Sender: TObject);
procedure btnSearchClick(Sender: TObject); procedure btnSearchClick(Sender: TObject);
procedure btnaddOrderClick(Sender: TObject); procedure btnAddOrderClick(Sender: TObject);
procedure btnFiltersClick(Sender: TObject); procedure btnFiltersClick(Sender: TObject);
procedure btnCloseNotificationClick(Sender: TObject); procedure btnCloseNotificationClick(Sender: TObject);
procedure WebFormShow(Sender: TObject); procedure WebFormShow(Sender: TObject);
...@@ -625,9 +625,8 @@ begin ...@@ -625,9 +625,8 @@ begin
end; end;
end; end;
procedure TFViewOrders.btnaddOrderClick(Sender: TObject); procedure TFViewOrders.btnAddOrderClick(Sender: TObject);
begin begin
//getCustomers();
ShowOrderListForm(); ShowOrderListForm();
end; end;
......
...@@ -23,7 +23,7 @@ object AuthDatabase: TAuthDatabase ...@@ -23,7 +23,7 @@ object AuthDatabase: TAuthDatabase
LoginPrompt = False LoginPrompt = False
Left = 67 Left = 67
Top = 131 Top = 131
EncryptedPassword = '9AFF92FF8CFF86FF8CFFCFFFCEFF' EncryptedPassword = '9AFF92FF8CFF86FF8CFFDEFFCFFFCEFFCDFF'
end end
object MySQLUniProvider1: TMySQLUniProvider object MySQLUniProvider1: TMySQLUniProvider
Left = 230 Left = 230
......
...@@ -9,7 +9,7 @@ object FDatabaseModule: TFDatabaseModule ...@@ -9,7 +9,7 @@ object FDatabaseModule: TFDatabaseModule
LoginPrompt = False LoginPrompt = False
Left = 75 Left = 75
Top = 139 Top = 139
EncryptedPassword = '9AFF92FF8CFF86FF8CFFCFFFCEFF' EncryptedPassword = '9AFF92FF8CFF86FF8CFFDEFFCFFFCEFFCDFF'
end end
object UniQuery1: TUniQuery object UniQuery1: TUniQuery
Connection = ucKG Connection = ucKG
......
[Options] [Options]
LogFileNum=31 LogFileNum=25
[Database] [Database]
--Server=192.168.159.132 --Server=192.168.159.132
--Server=192.168.198.129 Server=192.168.198.131
Server=192.168.102.130 --Server=192.168.102.130
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