Skip to content

Commit

Permalink
add filter date
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzSeMzzz committed Sep 9, 2019
1 parent 53bad34 commit e31da93
Show file tree
Hide file tree
Showing 38 changed files with 1,929 additions and 126 deletions.
12 changes: 11 additions & 1 deletion ClientsCrm.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ uses
UfrClientAnalitic in 'UfrClientAnalitic.pas' {frClientAnalitic},
UfrClientAnaliticR in 'UfrClientAnaliticR.pas' {frClientAnaliticR},
UfrAnaliticDep in 'UfrAnaliticDep.pas' {frAnaliticDep},
UfrAnaliticDepR in 'UfrAnaliticDepR.pas' {frAnaliticDepR};
UfrAnaliticDepR in 'UfrAnaliticDepR.pas' {frAnaliticDepR},
UfrAnaliticWork in 'UfrAnaliticWork.pas' {frAnaliticWork},
UfrAnaliticWorkR in 'UfrAnaliticWorkR.pas' {frAnaliticWorkR},
UfrAnaliticUsers in 'UfrAnaliticUsers.pas' {frAnaliticUsers},
UfrAnaliticUsersR in 'UfrAnaliticUsersR.pas' {frAnaliticUsersR},
UfrAbout in 'UfrAbout.pas' {frAbout};

{$R *.res}

Expand All @@ -30,6 +35,11 @@ begin
Application.MainFormOnTaskbar := True;
Application.CreateForm(Tdm, dm);
Application.CreateForm(TfrLogin, frLogin);
//Application.CreateForm(TfrAbout, frAbout);
//Application.CreateForm(TfrAnaliticUsersR, frAnaliticUsersR);
//Application.CreateForm(TfrAnaliticUsers, frAnaliticUsers);
//Application.CreateForm(TfrAnaliticWorkR, frAnaliticWorkR);
//Application.CreateForm(TfrAnaliticWork, frAnaliticWork);
//Application.CreateForm(TfrAnaliticDepR, frAnaliticDepR);
//Application.CreateForm(TfrAnaliticDep, frAnaliticDep);
//Application.CreateForm(TfrClientAnaliticR, frClientAnaliticR);
Expand Down
20 changes: 20 additions & 0 deletions ClientsCrm.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,26 @@
<Form>frAnaliticDepR</Form>
<FormType>dfm</FormType>
</DCCReference>
<DCCReference Include="UfrAnaliticWork.pas">
<Form>frAnaliticWork</Form>
<FormType>dfm</FormType>
</DCCReference>
<DCCReference Include="UfrAnaliticWorkR.pas">
<Form>frAnaliticWorkR</Form>
<FormType>dfm</FormType>
</DCCReference>
<DCCReference Include="UfrAnaliticUsers.pas">
<Form>frAnaliticUsers</Form>
<FormType>dfm</FormType>
</DCCReference>
<DCCReference Include="UfrAnaliticUsersR.pas">
<Form>frAnaliticUsersR</Form>
<FormType>dfm</FormType>
</DCCReference>
<DCCReference Include="UfrAbout.pas">
<Form>frAbout</Form>
<FormType>dfm</FormType>
</DCCReference>
<BuildConfiguration Include="Release">
<Key>Cfg_2</Key>
<CfgParent>Base</CfgParent>
Expand Down
107 changes: 61 additions & 46 deletions ClientsCrm.dproj.local
Original file line number Diff line number Diff line change
@@ -1,61 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<BorlandProject>
<Transactions>
<Transaction>1899.12.30 00:00:00.000.871,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.963,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.194,D:\projects\ClientsCrm\UfrAnaliticUsersR.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.671,=D:\projects\ClientsCrm\EncryptUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.545,D:\projects\ClientsCrm\UfrAnaliticWorkR.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.191,D:\projects\ClientsCrm\UfrClientWorkReportR.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.610,C:\Users\admin\Documents\Embarcadero\Studio\Projects\Unit1.dfm=D:\projects\ClientsCrm\LoginUnit.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.194,D:\projects\ClientsCrm\UfrAnaliticUsersR.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.666,=D:\projects\ClientsCrm\DataUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.431,D:\projects\ClientsCrm\UfrReportClient.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.545,D:\projects\ClientsCrm\UfrAnaliticWorkR.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.803,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.030,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.901,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.713,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.176,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.364,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.030,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.070,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.507,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\MainUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.236,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrEditUser.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.803,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.102,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UtilsUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.696,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrEditTask.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.791,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\TaskUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.960,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.191,D:\projects\ClientsCrm\UfrClientWorkReportR.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.432,=D:\projects\ClientsCrm\UserModel.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.228,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrAnaliticDep.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.610,C:\Users\admin\Documents\Embarcadero\Studio\Projects\Unit1.pas=D:\projects\ClientsCrm\LoginUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.685,=C:\Users\admin\Documents\Embarcadero\Studio\Projects\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.713,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.166,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.642,=C:\Users\admin\Documents\Embarcadero\Studio\Projects\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.176,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.062,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.253,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.798,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.970,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrClientAnaliticR.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.361,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.820,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrClientAnaliic.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.072,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrManageUsers.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.250,=D:\projects\ClientsCrm\UfrSett.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.539,C:\Users\admin\Documents\Embarcadero\Studio\Projects\Project1.dproj=D:\projects\ClientsCrm\ClientsCrm.dproj</Transaction>
<Transaction>1899.12.30 00:00:00.000.332,D:\projects\ClientsCrm\UfrClientAnaliic.dfm=D:\projects\ClientsCrm\UfrClientAnalitic.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.257,D:\projects\ClientsCrm\UfrClientWorkReport.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.332,D:\projects\ClientsCrm\UfrClientAnaliic.pas=D:\projects\ClientsCrm\UfrClientAnalitic.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.428,D:\projects\ClientsCrm\LoginUnit.pas=</Transaction>
<Transaction>1899.12.30 00:00:00.000.876,D:\projects\ClientsCrm\UfrReportClientR.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.431,D:\projects\ClientsCrm\UfrReportClient.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.666,=D:\projects\ClientsCrm\DataUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.610,C:\Users\admin\Documents\Embarcadero\Studio\Projects\Unit1.dfm=D:\projects\ClientsCrm\LoginUnit.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.431,D:\projects\ClientsCrm\UfrReportClient.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.191,D:\projects\ClientsCrm\UfrClientWorkReportR.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.671,=D:\projects\ClientsCrm\EncryptUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.970,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrClientAnaliticR.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.687,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrHandbook.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.072,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrManageUsers.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.507,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\MainUnit.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.820,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrClientAnaliic.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.687,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrHandbook.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.236,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrEditUser.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.228,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrAnaliticDep.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.970,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrClientAnaliticR.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.072,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrManageUsers.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.696,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrEditTask.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.507,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\MainUnit.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.692,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrAnaliticUsers.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.876,D:\projects\ClientsCrm\UfrReportClientR.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.332,D:\projects\ClientsCrm\UfrClientAnaliic.dfm=D:\projects\ClientsCrm\UfrClientAnalitic.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.685,=C:\Users\admin\Documents\Embarcadero\Studio\Projects\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.610,C:\Users\admin\Documents\Embarcadero\Studio\Projects\Unit1.pas=D:\projects\ClientsCrm\LoginUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.359,D:\projects\ClientsCrm\UfrAbout.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.848,D:\projects\ClientsCrm\UfrAnaliticWork.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.539,C:\Users\admin\Documents\Embarcadero\Studio\Projects\Project1.dproj=D:\projects\ClientsCrm\ClientsCrm.dproj</Transaction>
<Transaction>1899.12.30 00:00:00.000.250,=D:\projects\ClientsCrm\UfrSett.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.070,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.848,D:\projects\ClientsCrm\UfrAnaliticWork.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.791,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\TaskUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.257,D:\projects\ClientsCrm\UfrClientWorkReport.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.710,=D:\projects\ClientsCrm\UfrLogin.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.253,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.696,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.236,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrEditUser.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.228,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrAnaliticDep.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.024,D:\projects\ClientsCrm\UfrAnaliticDepR.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.024,D:\projects\ClientsCrm\UfrAnaliticDepR.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.359,D:\projects\ClientsCrm\UfrAbout.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.191,D:\projects\ClientsCrm\UfrClientWorkReportR.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.431,D:\projects\ClientsCrm\UfrReportClient.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.257,D:\projects\ClientsCrm\UfrClientWorkReport.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.876,D:\projects\ClientsCrm\UfrReportClientR.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.696,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrEditTask.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.236,D:\projects\ClientsCrm\Unit1.dfm=D:\projects\ClientsCrm\UfrEditUser.dfm</Transaction>
<Transaction>2018.07.11 10:44:57.408,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>2018.07.11 10:46:23.024,D:\projects\ClientsCrm\UfrAnaliticDepR.pas=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>2018.07.11 10:46:23.024,D:\projects\ClientsCrm\UfrAnaliticDepR.dfm=D:\projects\ClientsCrm\Unit1.dfm</Transaction>
<Transaction>1899.12.30 00:00:00.000.332,D:\projects\ClientsCrm\UfrClientAnaliic.pas=D:\projects\ClientsCrm\UfrClientAnalitic.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.428,D:\projects\ClientsCrm\LoginUnit.pas=</Transaction>
<Transaction>1899.12.30 00:00:00.000.072,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrManageUsers.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.692,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrAnaliticUsers.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.820,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrClientAnaliic.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.960,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.102,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UtilsUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.502,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.871,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.963,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.408,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.737,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.696,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrEditTask.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.687,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrHandbook.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.970,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\UfrClientAnaliticR.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.507,D:\projects\ClientsCrm\Unit1.pas=D:\projects\ClientsCrm\MainUnit.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.361,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.798,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.962,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
<Transaction>1899.12.30 00:00:00.000.062,=D:\projects\ClientsCrm\Unit1.pas</Transaction>
</Transactions>
</BorlandProject>
Binary file modified ClientsCrm.identcache
Binary file not shown.
12 changes: 6 additions & 6 deletions ClientsCrm.stat
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Stats]
EditorSecs=11300
DesignerSecs=1126
InspectorSecs=1385
CompileSecs=227925
OtherSecs=1169
EditorSecs=17193
DesignerSecs=1510
InspectorSecs=1794
CompileSecs=330956
OtherSecs=1504
StartTime=28.06.2018 13:46:55
RealKeys=0
EffectiveKeys=0
DebugSecs=3379
DebugSecs=5533
17 changes: 17 additions & 0 deletions DataUnit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,23 @@ Tdm = class(TDataModule)
'LEFT JOIN department ON (department.`id`=users.`id_dep`)';
taskSqlGrop:String='GROUP BY tasks.id';

userWithFiredSql:string='select users.*,'+chr(13)+
'department.`name` as `dname`'+chr(13) +
', user_roles.`name` as `role`'+chr(13) +
'from users'+chr(13)+
'LEFT JOIN department ON (department.`id`=users.`id_dep`)'+chr(13)+
'LEFT JOIN user_roles ON (user_roles.`id`=users.`id_role`)'+chr(13) +
'GROUP BY users.id';

userWithoutFiredSql:string='select users.*,'+chr(13)+
'department.`name` as `dname`'+chr(13) +
', user_roles.`name` as `role`'+chr(13) +
'from users'+chr(13)+
'LEFT JOIN department ON (department.`id`=users.`id_dep`)'+chr(13)+
'LEFT JOIN user_roles ON (user_roles.`id`=users.`id_role`)'+chr(13) +
'WHERE users.`fired`<>1 '+chr(13)+
'GROUP BY users.id';

var
dm: Tdm;
ini:TIniFile;
Expand Down
Loading

0 comments on commit e31da93

Please sign in to comment.