|
@@ -265,7 +265,7 @@ begin
|
|
|
ButtonControl_UpToWeb;
|
|
|
RepairAudits;
|
|
|
|
|
|
- if FProjectData.IsGuest then
|
|
|
+// if FProjectData.IsGuest then
|
|
|
tobtnUpFile.Visible := False;
|
|
|
end;
|
|
|
end;
|
|
@@ -553,7 +553,7 @@ procedure TProjectFrame.dxsbViewControlItemClick(Sender: TObject;
|
|
|
if (Item.Tag = xbiBillsCompile.Tag) or (Item.Tag = xbiBillsMeasure.Tag) then
|
|
|
CheckUpFile;
|
|
|
|
|
|
- tobtnUpFile.Visible := (Item.Tag = xbiBillsMeasure.Tag) and (not ProjectData.IsGuest);
|
|
|
+ tobtnUpFile.Visible := (Item.Tag = xbiBillsMeasure.Tag){ and (not ProjectData.IsGuest)};
|
|
|
if (tobtnUpFile.Visible = False) and (jpsAssistant.ActivePage = jpsAssistantUpFile) then
|
|
|
jpsAssistant.ActivePage := jpsAssistantStandardBills;
|
|
|
end;
|
|
@@ -1654,7 +1654,7 @@ begin
|
|
|
if (APageIndex = xbiBillsCompile.Tag) or (APageIndex = xbiBillsMeasure.Tag) then
|
|
|
CheckUpFile;
|
|
|
|
|
|
- tobtnUpFile.Visible := (APageIndex = xbiBillsMeasure.Tag) and (not ProjectData.IsGuest);
|
|
|
+ tobtnUpFile.Visible := (APageIndex = xbiBillsMeasure.Tag) {and (not ProjectData.IsGuest)};
|
|
|
if (tobtnUpFile.Visible = False) and (jpsAssistant.ActivePage = jpsAssistantUpFile) then
|
|
|
jpsAssistant.ActivePage := jpsAssistantStandardBills;
|
|
|
end;
|