|
@@ -1703,11 +1703,21 @@ procedure TProjectData.ResetFloatDigitView;
|
|
|
end;
|
|
|
end;
|
|
|
|
|
|
+ procedure SetBGLDigit;
|
|
|
+ begin
|
|
|
+ FBGLData.cdsBGLViewTotalPrice.DisplayFormat := FProjProperties.TotalPriceFormat;
|
|
|
+ FBGLData.cdsBGBillsViewPrice.DisplayFormat := FProjProperties.PriceFormat;
|
|
|
+ FBGLData.cdsBGBillsViewQuantity.DisplayFormat := FProjProperties.QuantityFormat;
|
|
|
+ FBGLData.cdsBGBillsViewTotalPrice.DisplayFormat := FProjProperties.TotalPriceFormat;
|
|
|
+ FBGLData.cdsBGBillsViewUsedQuantity.DisplayFormat := FProjProperties.QuantityFormat;
|
|
|
+ end;
|
|
|
+
|
|
|
begin
|
|
|
SetBillsCompileDigit;
|
|
|
SetBillsMeasureDigit;
|
|
|
SetDealPaymentDigit;
|
|
|
SetBillsGatherDigit;
|
|
|
+ SetBGLDigit;
|
|
|
end;
|
|
|
|
|
|
function TProjectData.GetStageDataReadOnly: Boolean;
|
|
@@ -1815,7 +1825,7 @@ procedure TProjectData.CopyPreData;
|
|
|
const
|
|
|
sCopySql = 'Insert Into GLPrice (GLID, PhaseID,' +
|
|
|
' InfoPrice, InfoDate, DeltaPrice, ValidDeltaPrice,' +
|
|
|
- ' PreUsedQuantity, PreUsedTotalprice' +
|
|
|
+ ' PreUsedQuantity, PreUsedTotalPrice,' +
|
|
|
' PM_PreQuantity, PM_PreTotalPrice,'+
|
|
|
' PrePAL_UsedQuantity, PrePAL_UsedTotalPrice,'+
|
|
|
' PrePAL_DeltaPrice, PrePAL_Total)'+
|