84 lines
2.1 KiB
C++
84 lines
2.1 KiB
C++
#if !defined(AFX_LOANERSEDITDLG_H__E6C958A1_4365_11D4_964F_00C0F02C4B69__INCLUDED_)
|
|
#define AFX_LOANERSEDITDLG_H__E6C958A1_4365_11D4_964F_00C0F02C4B69__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// LoanersEditDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLoanersEditDlg dialog
|
|
#include "gzcombo.h"
|
|
#include "gzrset.h"
|
|
#include "gzcurrencyformatter.h"
|
|
class CLoanersEditDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
bool m_bReadOnly;
|
|
void Security();
|
|
CString m_strSelClient;
|
|
CString m_strSelUnit;
|
|
CString m_strSelPart;
|
|
void FillListBoxes();
|
|
void FillFields();
|
|
void SetRentalID(CString * strRentalID);
|
|
CString m_strRentalID;
|
|
~CLoanersEditDlg();
|
|
CLoanersEditDlg(CWnd* pParent = NULL); // standard constructor
|
|
GZRset* rs;
|
|
GZRset* rs2;
|
|
|
|
|
|
CSpApp* m_pApp;
|
|
CgzCurrencyFormatter* cfm;
|
|
// Dialog Data
|
|
//{{AFX_DATA(CLoanersEditDlg)
|
|
enum { IDD = IDD_LOANERSEDIT };
|
|
CEdit m_edRef;
|
|
CButton m_btnCancel;
|
|
CDateTimeCtrl m_dtDateDue;
|
|
CEdit m_edNotes;
|
|
CEdit m_edLoanedTo;
|
|
CEdit m_edDescription;
|
|
CEdit m_edCharges;
|
|
CDateTimeCtrl m_dtDateReturn;
|
|
CDateTimeCtrl m_dtDateOut;
|
|
CButton m_ckReturned;
|
|
CgzCombo m_cbUnits;
|
|
CgzCombo m_cbParts;
|
|
CgzCombo m_cbClient;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CLoanersEditDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CLoanersEditDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnBtndone();
|
|
afx_msg void OnKillfocusEdcharges();
|
|
afx_msg void OnCloseupCbpart();
|
|
afx_msg void OnCloseupCbunit();
|
|
afx_msg void OnKillfocusEddescription();
|
|
afx_msg void OnBtncancel();
|
|
virtual void OnOK();
|
|
afx_msg void OnCkreturned();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_LOANERSEDITDLG_H__E6C958A1_4365_11D4_964F_00C0F02C4B69__INCLUDED_)
|