mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-10 00:29:27 +00:00
Rechnungsbetrag auf 3 Nachkommastellen erweitert
This commit is contained in:
+10
-10
@@ -42104,7 +42104,7 @@
|
||||
<Top>490</Top>
|
||||
<Left>1923</Left>
|
||||
<z>0</z>
|
||||
<Width>895</Width>
|
||||
<Width>901</Width>
|
||||
<Height>395</Height>
|
||||
<dz>0</dz>
|
||||
<RecalculateSizes>1</RecalculateSizes>
|
||||
@@ -43353,15 +43353,15 @@
|
||||
<WorkSpaceShape2>
|
||||
<Id>{4CBD4377-C7EA-48BE-B997-5A0FA6DD1269}</Id>
|
||||
</WorkSpaceShape2>
|
||||
<NamePositionX>2872</NamePositionX>
|
||||
<NamePositionX>2875</NamePositionX>
|
||||
<NamePositionY>788</NamePositionY>
|
||||
<Points>
|
||||
<Point>
|
||||
<x>2818</x>
|
||||
<x>2824</x>
|
||||
<y>688</y>
|
||||
</Point>
|
||||
<Point>
|
||||
<x>2849</x>
|
||||
<x>2855</x>
|
||||
<y>688</y>
|
||||
</Point>
|
||||
<Point>
|
||||
@@ -44127,15 +44127,15 @@
|
||||
<WorkSpaceShape2>
|
||||
<Id>{5AEA4D3B-818E-4916-AD78-C310205D8563}</Id>
|
||||
</WorkSpaceShape2>
|
||||
<NamePositionX>2374</NamePositionX>
|
||||
<NamePositionX>2376</NamePositionX>
|
||||
<NamePositionY>922</NamePositionY>
|
||||
<Points>
|
||||
<Point>
|
||||
<x>2370</x>
|
||||
<x>2374</x>
|
||||
<y>885</y>
|
||||
</Point>
|
||||
<Point>
|
||||
<x>2370</x>
|
||||
<x>2374</x>
|
||||
<y>916</y>
|
||||
</Point>
|
||||
<Point>
|
||||
@@ -47056,7 +47056,7 @@
|
||||
<Company>Technikum Wien</Company>
|
||||
<Version>2.0</Version>
|
||||
<CreatedDate>2009-04-17T10:15:21.000+01:00</CreatedDate>
|
||||
<ModifiedDate>2012-01-27T09:08:34.319+01:00</ModifiedDate>
|
||||
<ModifiedDate>2012-02-24T10:54:59.547+01:00</ModifiedDate>
|
||||
<Project>FH-Complete 2.0</Project>
|
||||
<Description><?xml-stylesheet type="text/xsl" href="FHCompleteTDM3PG83.xsl"?>
|
||||
</Description>
|
||||
@@ -128829,8 +128829,8 @@ Wenn FALSE haengt die Anzahl der Fragen pro Level von der Gesamtzahl pro Level a
|
||||
<AfterScript></AfterScript>
|
||||
<Notes></Notes>
|
||||
<Comments></Comments>
|
||||
<DataTypeParam1>12</DataTypeParam1>
|
||||
<DataTypeParam2>2</DataTypeParam2>
|
||||
<DataTypeParam1>13</DataTypeParam1>
|
||||
<DataTypeParam2>3</DataTypeParam2>
|
||||
<KeepForeignKey>0</KeepForeignKey>
|
||||
<DefaultValue></DefaultValue>
|
||||
<NotNull>0</NotNull>
|
||||
|
||||
@@ -3261,6 +3261,22 @@ if(!@$db->db_query("SELECT 1 FROM campus.tbl_freebusy LIMIT 1"))
|
||||
echo 'Tabelle campus.tbl_freebusy, campus.tbl_freebusytyp hinzugefuegt!<br>';
|
||||
}
|
||||
|
||||
|
||||
//Rechnungsbetrag auf 3 Nachkommastellen vergroessern
|
||||
if($result = $db->db_query("SELECT numeric_precision, numeric_scale FROM information_schema.columns WHERE column_name='betrag' AND table_name='tbl_rechnungsbetrag' AND table_schema='wawi';"))
|
||||
{
|
||||
if($row = $db->db_fetch_object($result))
|
||||
{
|
||||
if($row->numeric_precision==12 && $row->numeric_precision_scale=2)
|
||||
{
|
||||
$qry = "ALTER TABLE wawi.tbl_rechnungsbetrag ALTER COLUMN betrag TYPE numeric(13,3);";
|
||||
if(!$db->db_query($qry))
|
||||
echo '<strong>waw.tbl_rechnungsbetrag: '.$db->db_last_error().'</strong><br>';
|
||||
else
|
||||
echo 'wawi.tbl_rechnungsbetrag: Spalte betrag auf 3 Nachkommastellen vergroessert<br>';
|
||||
}
|
||||
}
|
||||
}
|
||||
echo '<br>';
|
||||
|
||||
$tabellen=array(
|
||||
|
||||
Reference in New Issue
Block a user