Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0576299f

Von Moritz Bunkus vor mehr als 19 Jahren hinzugefügt

Whitespace an den Zeilenenden entfernt.

Unterschiede anzeigen:

SL/AM.pm
76 76
  $sth->finish;
77 77

  
78 78
  # get taxkeys and description
79
  $query = qq|SELECT taxkey, taxdescription 
79
  $query = qq|SELECT taxkey, taxdescription
80 80
              FROM tax|;
81 81
  $sth = $dbh->prepare($query);
82 82
  $sth->execute || $form->dberror($query);
......
163 163
		WHERE id = $form->{id}|;
164 164
  } else {
165 165

  
166
    $query = qq|INSERT INTO chart 
166
    $query = qq|INSERT INTO chart
167 167
                (accno, description, charttype, gifi_accno, category, link, taxkey_id, pos_ustva, pos_bwa, pos_bilanz,pos_eur)
168 168
                VALUES ('$form->{accno}', '$form->{description}',
169 169
		'$form->{charttype}', '$form->{gifi_accno}',
......
251 251

  
252 252
  # set inventory_accno_id, income_accno_id, expense_accno_id to defaults
253 253
  $query = qq|UPDATE parts
254
              SET inventory_accno_id = 
254
              SET inventory_accno_id =
255 255
	                 (SELECT inventory_accno_id FROM defaults)
256 256
	      WHERE inventory_accno_id = $form->{id}|;
257 257
  $dbh->do($query) || $form->dberror($query);
......
362 362
		description = '$form->{description}'
363 363
		WHERE accno = '$form->{id}'|;
364 364
  } else {
365
    $query = qq|INSERT INTO gifi 
365
    $query = qq|INSERT INTO gifi
366 366
                (accno, description)
367 367
                VALUES ('$form->{accno}', '$form->{description}')|;
368 368
  }
......
570 570
		role = '$form->{role}'
571 571
		WHERE id = $form->{id}|;
572 572
  } else {
573
    $query = qq|INSERT INTO department 
573
    $query = qq|INSERT INTO department
574 574
                (description, role)
575 575
                VALUES ('$form->{description}', '$form->{role}')|;
576 576
  }
......
670 670
                salesman = '$form->{salesman}'
671 671
		WHERE id = $form->{id}|;
672 672
  } else {
673
    $query = qq|INSERT INTO business 
673
    $query = qq|INSERT INTO business
674 674
                (description, discount, customernumberinit, salesman)
675 675
                VALUES ('$form->{description}', $form->{discount}, '$form->{customernumberinit}', '$form->{salesman}')|;
676 676
  }
......
767 767
		description = '$form->{description}'
768 768
		WHERE code = '$form->{id}'|;
769 769
  } else {
770
    $query = qq|INSERT INTO sic 
770
    $query = qq|INSERT INTO sic
771 771
                (code, sictype, description)
772 772
                VALUES ('$form->{code}', '$form->{sictype}', '$form->{description}')|;
773 773
  }
......
847 847
  # user specific variables are in myconfig
848 848
  # save defaults
849 849
  my $query = qq|UPDATE defaults SET
850
                 inventory_accno_id = 
850
                 inventory_accno_id =
851 851
		     (SELECT c.id FROM chart c
852 852
		                WHERE c.accno = '$form->{inventory_accno}'),
853 853
                 income_accno_id =
......
1356 1356
}
1357 1357

  
1358 1358
1;
1359

  
SL/CA.pm
369 369
      $query .= qq|
370 370

  
371 371
             UNION ALL
372
      
372

  
373 373
                 SELECT a.id, a.invnumber, c.name, a.transdate,
374 374
	         a.invoice, ac.sellprice, 'ar' as module
375 375
		 FROM ar a
......
382 382
		 $todate_where
383 383
		 $dpt_where
384 384
		 $project
385
      
385

  
386 386
             UNION ALL
387
      
387

  
388 388
                 SELECT a.id, a.invnumber, v.name, a.transdate,
389 389
	         a.invoice, ac.sellprice, 'ap' as module
390 390
		 FROM ap a
......
451 451
}
452 452

  
453 453
1;
454

  
SL/Form.pm
439 439
       <!--
440 440
       $trigger_1
441 441
       $trigger_2
442
        //-->          
442
        //-->
443 443
        </script>
444 444
        |;
445 445

  
......
1300 1300
  my ($self, $dbh, $id) = @_;
1301 1301

  
1302 1302
  my $query = qq|SELECT c.*
1303
              FROM contacts c 
1303
              FROM contacts c
1304 1304
              WHERE cp_id=$id|;
1305 1305
  $sth = $dbh->prepare($query);
1306 1306
  $sth->execute || $self->dberror($query);
......
1319 1319

  
1320 1320
  my ($self, $dbh, $id) = @_;
1321 1321

  
1322
  my $query = qq|SELECT c.cp_id, c.cp_cv_id, c.cp_name, c.cp_givenname 
1323
              FROM contacts c 
1322
  my $query = qq|SELECT c.cp_id, c.cp_cv_id, c.cp_name, c.cp_givenname
1323
              FROM contacts c
1324 1324
              WHERE cp_cv_id=$id|;
1325 1325
  my $sth = $dbh->prepare($query);
1326 1326
  $sth->execute || $self->dberror($query);
......
1687 1687
    $where = "quotation = '1'";
1688 1688
  }
1689 1689

  
1690
  my $query = qq|SELECT id FROM $arap 
1690
  my $query = qq|SELECT id FROM $arap
1691 1691
                 WHERE id IN (SELECT MAX(id) FROM $arap
1692 1692
		              WHERE $where
1693 1693
			      AND ${table}_id > 0)|;
......
2211 2211
}
2212 2212

  
2213 2213
1;
2214

  
SL/GL.pm
124 124
  if ($form->{id}) {
125 125

  
126 126
    # delete individual transactions
127
    $query = qq|DELETE FROM acc_trans 
127
    $query = qq|DELETE FROM acc_trans
128 128
                WHERE trans_id = $form->{id}|;
129 129
    $dbh->do($query) || $form->dberror($query);
130 130

  
......
149 149
  my ($null, $department_id) = split /--/, $form->{department};
150 150
  $department_id *= 1;
151 151

  
152
  $query = qq|UPDATE gl SET 
152
  $query = qq|UPDATE gl SET
153 153
	      reference = '$form->{reference}',
154 154
	      description = '$form->{description}',
155 155
	      notes = '$form->{notes}',
......
584 584
    $query = "SELECT g.reference, g.description, g.notes, g.transdate,
585 585
              d.description AS department, e.name as employee, g.taxincluded, g.gldate
586 586
              FROM gl g
587
	    LEFT JOIN department d ON (d.id = g.department_id)  
588
	    LEFT JOIN employee e ON (e.id = g.employee_id)  
587
	    LEFT JOIN department d ON (d.id = g.department_id)
588
	    LEFT JOIN employee e ON (e.id = g.employee_id)
589 589
	    WHERE g.id = $form->{id}";
590 590
    $sth = $dbh->prepare($query);
591 591
    $sth->execute || $form->dberror($query);
......
722 722
}
723 723

  
724 724
1;
725

  
SL/IC.pm
300 300
    ($partsgroup, $partsgroup_id) = split /--/, $form->{partsgroup};
301 301
  }
302 302

  
303
  $query = qq|UPDATE parts SET 
303
  $query = qq|UPDATE parts SET
304 304
	      partnumber = '$form->{partnumber}',
305 305
	      description = '$form->{description}',
306 306
	      makemodel = '$form->{makemodel}',
......
350 350
  foreach $item (split / /, $form->{taxaccounts}) {
351 351
    if ($form->{"IC_tax_$item"}) {
352 352
      $query = qq|INSERT INTO partstax (parts_id, chart_id)
353
                  VALUES ($form->{id}, 
353
                  VALUES ($form->{id},
354 354
		          (SELECT c.id
355 355
			   FROM chart c
356 356
			   WHERE c.accno = '$item'))|;
......
1287 1287
}
1288 1288

  
1289 1289
1;
1290

  
SL/IR.pm
235 235

  
236 236
            # add entry for inventory, this one is for the sold item
237 237
            if ($linetotal != 0) {
238
              $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount, 
238
              $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
239 239
			  transdate)
240 240
			  VALUES ($ref->{trans_id}, $ref->{inventory_accno_id},
241 241
			  $linetotal, '$ref->{transdate}')|;
242 242
              $dbh->do($query) || $form->dberror($query);
243 243

  
244 244
              # add expense
245
              $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount, 
245
              $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
246 246
			  transdate, taxkey)
247 247
			  VALUES ($ref->{trans_id}, $ref->{expense_accno_id},
248
			  | . ($linetotal * -1) . qq|, '$ref->{transdate}', 
248
			  | . ($linetotal * -1) . qq|, '$ref->{transdate}',
249 249
                          (SELECT taxkey from tax WHERE chart_id = $ref->{expense_accno_id}))|;
250 250
              $dbh->do($query) || $form->dberror($query);
251 251
            }
......
443 443
           $form->round_amount($form->{amount}{$trans_id}{$accno}, 2)
444 444
          ) != 0
445 445
        ) {
446
        $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount, 
446
        $query = qq|INSERT INTO acc_trans (trans_id, chart_id, amount,
447 447
		    transdate, taxkey)
448 448
		    VALUES ($trans_id, (SELECT c.id FROM chart c
449 449
		                         WHERE c.accno = '$accno'),
......
1220 1220
}
1221 1221

  
1222 1222
1;
1223

  
SL/RC.pm
117 117
  $query .= " AND ac.transdate <= '$form->{todate}'"   if $form->{todate};
118 118

  
119 119
  $query .= qq|
120
  
120

  
121 121
      UNION
122 122
              SELECT v.name, ac.source, ac.transdate, ac.cleared,
123 123
	      ac.fx_transaction, ac.amount, a.id,
124
	      $oid{$myconfig->{dbdriver}} AS oid 
124
	      $oid{$myconfig->{dbdriver}} AS oid
125 125
	      FROM vendor v, acc_trans ac, ap a, chart ch
126 126
	      WHERE v.id = a.vendor_id
127 127
--	      AND NOT ac.fx_transaction
......
135 135
  $query .= " AND ac.transdate <= '$form->{todate}'"   if $form->{todate};
136 136

  
137 137
  $query .= qq|
138
  
138

  
139 139
      UNION
140 140
	      SELECT g.description, ac.source, ac.transdate, ac.cleared,
141 141
	      ac.fx_transaction, ac.amount, g.id,
142
	      $oid{$myconfig->{dbdriver}} AS oid 
142
	      $oid{$myconfig->{dbdriver}} AS oid
143 143
	      FROM gl g, acc_trans ac, chart ch
144 144
	      WHERE g.id = ac.trans_id
145 145
--	      AND NOT ac.fx_transaction
......
201 201
}
202 202

  
203 203
1;
204

  
SL/RP.pm
600 600
    if ($form->{method} eq 'cash') {
601 601

  
602 602
      $query = qq|
603
	
603

  
604 604
	         SELECT g.accno, sum(ac.amount) AS amount,
605 605
		 g.description, c.category
606 606
		 FROM acc_trans ac
......
621 621
		   )
622 622
		 $project
623 623
		 GROUP BY g.accno, g.description, c.category
624
		 
624

  
625 625
       UNION ALL
626
       
626

  
627 627
		 SELECT '' AS accno, SUM(ac.amount) AS amount,
628 628
		 '' AS description, c.category
629 629
		 FROM acc_trans ac
......
667 667
		   )
668 668
		 $project
669 669
		 GROUP BY g.accno, g.description, c.category
670
		 
670

  
671 671
       UNION ALL
672
       
672

  
673 673
		 SELECT '' AS accno, SUM(ac.amount) AS amount,
674 674
		 '' AS description, c.category
675 675
		 FROM acc_trans ac
......
694 694
       UNION ALL
695 695

  
696 696
-- add gl
697
	
697

  
698 698
	         SELECT g.accno, sum(ac.amount) AS amount,
699 699
		 g.description, c.category
700 700
		 FROM acc_trans ac
......
709 709
		 AND NOT (c.link = 'AR' OR c.link = 'AP')
710 710
		 $project
711 711
		 GROUP BY g.accno, g.description, c.category
712
		 
712

  
713 713
       UNION ALL
714
       
714

  
715 715
		 SELECT '' AS accno, SUM(ac.amount) AS amount,
716 716
		 '' AS description, c.category
717 717
		 FROM acc_trans ac
......
731 731
      if ($form->{project_id}) {
732 732

  
733 733
        $query .= qq|
734
	  
734

  
735 735
       UNION ALL
736
       
736

  
737 737
		 SELECT g.accno AS accno, SUM(ac.sellprice * ac.qty) AS amount,
738 738
		 g.description AS description, c.category
739 739
		 FROM invoice ac
......
758 758
		 GROUP BY g.accno, g.description, c.category
759 759

  
760 760
       UNION ALL
761
       
761

  
762 762
		 SELECT g.accno AS accno, SUM(ac.sellprice * ac.qty) * -1 AS amount,
763 763
		 g.description AS description, c.category
764 764
		 FROM invoice ac
......
796 796
      }
797 797

  
798 798
      $query = qq|
799
      
799

  
800 800
	      SELECT g.accno, SUM(ac.amount) AS amount,
801 801
	      g.description, c.category
802 802
	      FROM acc_trans ac
......
808 808
	      $category
809 809
	      $project
810 810
	      GROUP BY g.accno, g.description, c.category
811
	      
811

  
812 812
	   UNION ALL
813
	   
813

  
814 814
	      SELECT '' AS accno, SUM(ac.amount) AS amount,
815 815
	      '' AS description, c.category
816 816
	      FROM acc_trans ac
......
827 827
      if ($form->{project_id}) {
828 828

  
829 829
        $query .= qq|
830
	  
830

  
831 831
	 UNION ALL
832
       
832

  
833 833
		 SELECT g.accno AS accno, SUM(ac.sellprice * ac.qty) AS amount,
834 834
		 g.description AS description, c.category
835 835
		 FROM invoice ac
......
846 846
		 GROUP BY g.accno, g.description, c.category
847 847

  
848 848
       UNION ALL
849
       
849

  
850 850
		 SELECT g.accno AS accno, SUM(ac.sellprice * ac.qty) * -1 AS amount,
851 851
		 g.description AS description, c.category
852 852
		 FROM invoice ac
......
870 870
    if ($form->{method} eq 'cash') {
871 871

  
872 872
      $query = qq|
873
	
873

  
874 874
	         SELECT c.accno, sum(ac.amount) AS amount,
875 875
		 c.description, c.category
876 876
		 FROM acc_trans ac
......
888 888
		     WHERE link LIKE '%AR_paid%'
889 889
		     $subwhere
890 890
		   )
891
		     
891

  
892 892
		 $project
893 893
		 GROUP BY c.accno, c.description, c.category
894
		 
894

  
895 895
	UNION ALL
896
	
896

  
897 897
	         SELECT c.accno, sum(ac.amount) AS amount,
898 898
		 c.description, c.category
899 899
		 FROM acc_trans ac
......
911 911
		     WHERE link LIKE '%AP_paid%'
912 912
		     $subwhere
913 913
		   )
914
		     
914

  
915 915
		 $project
916 916
		 GROUP BY c.accno, c.description, c.category
917
		 
917

  
918 918
        UNION ALL
919 919

  
920 920
		 SELECT c.accno, sum(ac.amount) AS amount,
......
935 935
      if ($form->{project_id}) {
936 936

  
937 937
        $query .= qq|
938
	  
938

  
939 939
	 UNION ALL
940
       
940

  
941 941
		 SELECT c.accno AS accno, SUM(ac.sellprice * ac.qty) AS amount,
942 942
		 c.description AS description, c.category
943 943
		 FROM invoice ac
......
962 962
		 GROUP BY c.accno, c.description, c.category
963 963

  
964 964
	 UNION ALL
965
       
965

  
966 966
		 SELECT c.accno AS accno, SUM(ac.sellprice) AS amount,
967 967
		 c.description AS description, c.category
968 968
		 FROM invoice ac
......
999 999
      }
1000 1000

  
1001 1001
      $query = qq|
1002
      
1002

  
1003 1003
		 SELECT c.accno, sum(ac.amount) AS amount,
1004 1004
		 c.description, c.category
1005 1005
		 FROM acc_trans ac
......
1015 1015
      if ($form->{project_id}) {
1016 1016

  
1017 1017
        $query .= qq|
1018
	  
1018

  
1019 1019
	UNION ALL
1020
       
1020

  
1021 1021
		 SELECT c.accno AS accno, SUM(ac.sellprice * ac.qty) AS amount,
1022 1022
		 c.description AS description, c.category
1023 1023
		 FROM invoice ac
......
1033 1033
		 GROUP BY c.accno, c.description, c.category
1034 1034

  
1035 1035
	UNION ALL
1036
       
1036

  
1037 1037
		 SELECT c.accno AS accno, SUM(ac.sellprice * ac.qty) * -1 AS amount,
1038 1038
		 c.description AS description, c.category
1039 1039
		 FROM invoice ac
......
1156 1156
  if ($form->{method} eq 'cash') {
1157 1157

  
1158 1158
    $query = qq|
1159
	
1159

  
1160 1160
	         SELECT sum(ac.amount) AS amount,
1161 1161
		 c.$category
1162 1162
		 FROM acc_trans ac
......
1173 1173
		     WHERE link LIKE '%AR_paid%'
1174 1174
		     $subwhere
1175 1175
		   )
1176
		     
1176

  
1177 1177
		 $project
1178 1178
		 GROUP BY c.$category
1179
		 
1179

  
1180 1180
	UNION
1181
	
1181

  
1182 1182
	         SELECT sum(ac.amount) AS amount,
1183 1183
		 c.$category
1184 1184
		 FROM acc_trans ac
......
1195 1195
		     WHERE link LIKE '%AP_paid%'
1196 1196
		     $subwhere
1197 1197
		   )
1198
		     
1198

  
1199 1199
		 $project
1200 1200
		 GROUP BY c.$category
1201
		 
1201

  
1202 1202
        UNION
1203 1203

  
1204 1204
		 SELECT sum(ac.amount) AS amount,
......
1218 1218
    if ($form->{project_id}) {
1219 1219

  
1220 1220
      $query .= qq|
1221
	  
1221

  
1222 1222
	 UNION
1223
       
1223

  
1224 1224
		 SELECT SUM(ac.sellprice * ac.qty) AS amount,
1225 1225
		 c.$category
1226 1226
		 FROM invoice ac
......
1245 1245
		 GROUP BY c.$category
1246 1246

  
1247 1247
	 UNION
1248
       
1248

  
1249 1249
		 SELECT SUM(ac.sellprice) AS amount,
1250 1250
		 c.$category
1251 1251
		 FROM invoice ac
......
1282 1282
    }
1283 1283

  
1284 1284
    $query = qq|
1285
      
1285

  
1286 1286
		 SELECT sum(ac.amount) AS amount,
1287 1287
		 c.$category
1288 1288
		 FROM acc_trans ac
......
1297 1297
    if ($form->{project_id}) {
1298 1298

  
1299 1299
      $query .= qq|
1300
	  
1300

  
1301 1301
	UNION
1302
       
1302

  
1303 1303
		 SELECT SUM(ac.sellprice * ac.qty) AS amount,
1304 1304
		 c.$category
1305 1305
		 FROM invoice ac
......
1315 1315
		 GROUP BY c.$category
1316 1316

  
1317 1317
	UNION
1318
       
1318

  
1319 1319
		 SELECT SUM(ac.sellprice * ac.qty) * -1 AS amount,
1320 1320
		 c.$category
1321 1321
		 FROM invoice ac
......
1531 1531
      $query .= qq|
1532 1532

  
1533 1533
	-- add project transactions from invoice
1534
	
1534

  
1535 1535
	UNION ALL
1536
	
1536

  
1537 1537
	        SELECT g.accno, g.description, c.category,
1538 1538
		SUM(ac.sellprice * ac.qty) AS amount
1539 1539
		FROM invoice ac
......
1548 1548
		GROUP BY g.accno, g.description, c.category
1549 1549

  
1550 1550
	UNION ALL
1551
	
1551

  
1552 1552
	        SELECT g.accno, g.description, c.category,
1553 1553
		SUM(ac.sellprice * ac.qty) * -1 AS amount
1554 1554
		FROM invoice ac
......
1585 1585
      $query .= qq|
1586 1586

  
1587 1587
	-- add project transactions from invoice
1588
	
1588

  
1589 1589
	UNION ALL
1590
	
1590

  
1591 1591
	        SELECT c.accno, c.description, c.category,
1592 1592
		SUM(ac.sellprice * ac.qty) AS amount
1593 1593
		FROM invoice ac
......
1601 1601
		GROUP BY c.accno, c.description, c.category
1602 1602

  
1603 1603
	UNION ALL
1604
	
1604

  
1605 1605
	        SELECT c.accno, c.description, c.category,
1606 1606
		SUM(ac.sellprice * ac.qty) * -1 AS amount
1607 1607
		FROM invoice ac
......
1634 1634
	      $project
1635 1635
	      AND ac.amount < 0
1636 1636
	      AND c.accno = ?) AS debit,
1637
	      
1637

  
1638 1638
	     (SELECT SUM(ac.amount)
1639 1639
	      FROM acc_trans ac
1640 1640
	      JOIN chart c ON (c.id = ac.chart_id)
......
1657 1657
		$project
1658 1658
		AND ac.amount < 0
1659 1659
		AND c.gifi_accno = ?) AS debit,
1660
		
1660

  
1661 1661
	       (SELECT SUM(ac.amount)
1662 1662
		FROM acc_trans ac
1663 1663
		JOIN chart c ON (c.id = ac.chart_id)
......
1685 1685
	      $dpt_where
1686 1686
	      $project
1687 1687
	      AND c.accno = ?) AS debit,
1688
	      
1688

  
1689 1689
	     (SELECT SUM(ac.sellprice * ac.qty)
1690 1690
	      FROM invoice ac
1691 1691
	      JOIN parts p ON (ac.parts_id = p.id)
......
1844 1844
	  (SELECT $buysell FROM exchangerate
1845 1845
	   WHERE $form->{arap}.curr = exchangerate.curr
1846 1846
	   AND exchangerate.transdate = $form->{arap}.transdate) AS exchangerate
1847
  FROM $form->{arap}, $form->{ct} 
1847
  FROM $form->{arap}, $form->{ct}
1848 1848
	WHERE paid != amount
1849 1849
	AND $form->{arap}.$form->{ct}_id = $form->{ct}.id
1850 1850
	AND $form->{ct}.id = $id
1851 1851
	AND (
1852
	        transdate <= (date '$form->{todate}' - interval '0 days') 
1852
	        transdate <= (date '$form->{todate}' - interval '0 days')
1853 1853
	        AND transdate >= (date '$form->{todate}' - interval '30 days')
1854 1854
	    )
1855
	
1855

  
1856 1856
	UNION
1857 1857

  
1858 1858
-- between 31-60 days
......
1860 1860
	SELECT $form->{ct}.id AS ctid, $form->{ct}.name,
1861 1861
	street, zipcode, city, country, contact, email,
1862 1862
	phone as customerphone, fax as customerfax, $form->{ct}number,
1863
	"invnumber", "transdate", 
1863
	"invnumber", "transdate",
1864 1864
	0.00 as "c0", (amount - paid) as "c30", 0.00 as "c60", 0.00 as "c90",
1865 1865
	"duedate", invoice, $form->{arap}.id,
1866 1866
	  (SELECT $buysell FROM exchangerate
1867 1867
	   WHERE $form->{arap}.curr = exchangerate.curr
1868 1868
	   AND exchangerate.transdate = $form->{arap}.transdate) AS exchangerate
1869 1869
  FROM $form->{arap}, $form->{ct}
1870
	WHERE paid != amount 
1871
	AND $form->{arap}.$form->{ct}_id = $form->{ct}.id 
1870
	WHERE paid != amount
1871
	AND $form->{arap}.$form->{ct}_id = $form->{ct}.id
1872 1872
	AND $form->{ct}.id = $id
1873 1873
	AND (
1874
		transdate < (date '$form->{todate}' - interval '30 days') 
1874
		transdate < (date '$form->{todate}' - interval '30 days')
1875 1875
		AND transdate >= (date '$form->{todate}' - interval '60 days')
1876 1876
		)
1877 1877

  
1878 1878
	UNION
1879
  
1879

  
1880 1880
-- between 61-90 days
1881 1881

  
1882 1882
	SELECT $form->{ct}.id AS ctid, $form->{ct}.name,
1883 1883
	street, zipcode, city, country, contact, email,
1884 1884
	phone as customerphone, fax as customerfax, $form->{ct}number,
1885
	"invnumber", "transdate", 
1885
	"invnumber", "transdate",
1886 1886
	0.00 as "c0", 0.00 as "c30", (amount - paid) as "c60", 0.00 as "c90",
1887 1887
	"duedate", invoice, $form->{arap}.id,
1888 1888
	  (SELECT $buysell FROM exchangerate
1889 1889
	   WHERE $form->{arap}.curr = exchangerate.curr
1890 1890
	   AND exchangerate.transdate = $form->{arap}.transdate) AS exchangerate
1891
	FROM $form->{arap}, $form->{ct} 
1891
	FROM $form->{arap}, $form->{ct}
1892 1892
	WHERE paid != amount
1893
	AND $form->{arap}.$form->{ct}_id = $form->{ct}.id 
1893
	AND $form->{arap}.$form->{ct}_id = $form->{ct}.id
1894 1894
	AND $form->{ct}.id = $id
1895 1895
	AND (
1896
		transdate < (date '$form->{todate}' - interval '60 days') 
1896
		transdate < (date '$form->{todate}' - interval '60 days')
1897 1897
		AND transdate >= (date '$form->{todate}' - interval '90 days')
1898 1898
		)
1899 1899

  
1900 1900
	UNION
1901
  
1901

  
1902 1902
-- over 90 days
1903 1903

  
1904 1904
	SELECT $form->{ct}.id AS ctid, $form->{ct}.name,
1905 1905
	street, zipcode, city, country, contact, email,
1906 1906
	phone as customerphone, fax as customerfax, $form->{ct}number,
1907
	"invnumber", "transdate", 
1907
	"invnumber", "transdate",
1908 1908
	0.00 as "c0", 0.00 as "c30", 0.00 as "c60", (amount - paid) as "c90",
1909 1909
	"duedate", invoice, $form->{arap}.id,
1910 1910
	  (SELECT $buysell FROM exchangerate
1911 1911
	   WHERE $form->{arap}.curr = exchangerate.curr
1912 1912
	   AND exchangerate.transdate = $form->{arap}.transdate) AS exchangerate
1913
	FROM $form->{arap}, $form->{ct} 
1913
	FROM $form->{arap}, $form->{ct}
1914 1914
	WHERE paid != amount
1915
	AND $form->{arap}.$form->{ct}_id = $form->{ct}.id 
1915
	AND $form->{arap}.$form->{ct}_id = $form->{ct}.id
1916 1916
	AND $form->{ct}.id = $id
1917
	AND transdate < (date '$form->{todate}' - interval '90 days') 
1917
	AND transdate < (date '$form->{todate}' - interval '90 days')
1918 1918

  
1919 1919
	ORDER BY
1920
  
1920

  
1921 1921
  ctid, transdate, invnumber
1922
  
1922

  
1923 1923
		|;
1924 1924

  
1925 1925
    my $sth = $dbh->prepare($query);
......
2271 2271
		WHERE ac.chart_id = $ref->{id}
2272 2272
		$where
2273 2273
		$invnumber
2274
		
2274

  
2275 2275
 	UNION
2276 2276
		SELECT g.description, g.reference, NULL AS ordnumber,
2277 2277
		ac.transdate, ac.amount * $ml AS paid, ac.source,
......
2617 2617
  $main::lxdebug->leave_sub();
2618 2618
}
2619 2619
1;
2620

  
SL/USTVA.pm
139 139
           <input type=hidden name="patterncount" value="$patterncount">
140 140
           <input type=hidden name="patternlength" value="$patterncount">
141 141
           <input type=hidden name="delimiter" value="$delimiter">
142
           <input type=hidden name="part" value="$part">  
142
           <input type=hidden name="part" value="$part">
143 143
  |;
144 144
  my $h = 0;
145 145
  my $i = 0;
......
191 191
  #}
192 192

  
193 193
  #if ( $terminal eq 'mozilla' or $terminal eq 'js' ) {
194
  print qq|    
194
  print qq|
195 195
        <br>
196 196
        <script language="Javascript">
197 197
        function update_auswahl()
......
223 223
    print qq|
224 224
               }|;
225 225
  }
226
  print qq| 
226
  print qq|
227 227
        }
228 228
        </script>
229 229

  
......
261 261
  print qq|
262 262
           <tr>
263 263
              <td>Finanzamt
264
              </td> 
264
              </td>
265 265
              <td>
266 266
                 <select size="1" name="elsterFFFF_new">|;
267 267
  if ($elsterFFFF eq '') {
......
281 281
  print qq|
282 282
                 </td>
283 283
              </tr>
284
            </table>    
284
            </table>
285 285
            </select>|;
286 286

  
287 287
  $main::lxdebug->leave_sub();
......
410 410
  if ($DBI::err) {
411 411

  
412 412
    #There is no table, read the table from sql/finanzamt.sql
413
    print qq|<p>Bitte warten, Tabelle $table wird einmalig in Datenbank: 
413
    print qq|<p>Bitte warten, Tabelle $table wird einmalig in Datenbank:
414 414
    $myconfig->{dbname} als Benutzer: $myconfig->{dbuser} hinzugef?gt...</p>|;
415 415
    process_query($form, $dbh, $filename) || $self->error(DBI->errstr);
416 416

  
......
557 557
}
558 558

  
559 559
1;
560

  
bin/mozilla/admin.pl
647 647
	  <td><input name="${item}_dbuser" size=15 value=$form->{"${item}_dbuser"}></td>
648 648
	  <th align=right>| . $locale->text('Password') . qq|</th>
649 649
	  <td><input name="${item}_dbpasswd" type=password size=10 value=$form->{"${item}_dbpasswd"}></td>
650
	  
650

  
651 651
	</tr>|;
652 652
    }
653 653

  
......
777 777
        $webdav{"${directory}c"} = "";
778 778
      }
779 779
    }
780
    print qq|  
780
    print qq|
781 781
   <tr>
782 782
    <td colspan=2><hr size=3 noshade></td>
783 783
  </tr>
......
787 787
  <table width=100%>
788 788
	<tr>
789 789
	<td><input name=angebote class=checkbox type=checkbox value=1 $webdav{angebotec}>&nbsp;Angebot</td>
790
	<td><input name=bestellungen class=checkbox type=checkbox value=1 $webdav{bestellungenc}>&nbsp;Bestellung</td> 
790
	<td><input name=bestellungen class=checkbox type=checkbox value=1 $webdav{bestellungenc}>&nbsp;Bestellung</td>
791 791
	<td><input name=rechnungen class=checkbox type=checkbox value=1 $webdav{rechnungenc}>&nbsp;Rechnung</td>
792 792
	</tr>
793 793
	<tr>
794 794
	<td><input name=anfragen class=checkbox type=checkbox value=1 $webdav{anfragenc}>&nbsp;Angebot</td>
795
	<td><input name=lieferantenbestellungen class=checkbox type=checkbox value=1 $webdav{lieferantenbestellungenc}>&nbsp;Lieferantenbestellung</td> 
795
	<td><input name=lieferantenbestellungen class=checkbox type=checkbox value=1 $webdav{lieferantenbestellungenc}>&nbsp;Lieferantenbestellung</td>
796 796
	<td><input name=einkaufsrechnungen class=checkbox type=checkbox value=1 $webdav{einkaufsrechnungenc}>&nbsp;Einkaufsrechnung</td>
797 797
	</tr>
798
  </table>    
798
  </table>
799 799
  <tr>
800 800
    <td colspan=2><hr size=3 noshade></td>
801 801
  </tr>
......
1247 1247
    <td><input type=password name=dbpasswd size=10></td>
1248 1248

  
1249 1249
  </tr>
1250
  
1250

  
1251 1251
  <tr>
1252 1252

  
1253 1253
    <th align=right>$form->{connectstring}</th>
......
1457 1457
    <td>$dbsources</td>
1458 1458

  
1459 1459
  </tr>
1460
  
1460

  
1461 1461
  <tr>
1462 1462

  
1463 1463
    <th align=right nowrap>| . $locale->text('Create Dataset') . qq|</th>
......
1471 1471
    <td><select name=encoding>$selectencoding</select></td>
1472 1472

  
1473 1473
  </tr>
1474
 
1474

  
1475 1475
  <tr>
1476 1476

  
1477 1477
    <th align=right nowrap>|
......
1480 1480
    <td>@charts</td>
1481 1481

  
1482 1482
  </tr>
1483
 
1483

  
1484 1484
  <tr><td colspan=2>
1485 1485
<p>
1486 1486
<input type=hidden name=dbdriver value=$form->{dbdriver}>
......
1598 1598
    $dbsources
1599 1599
    </td>
1600 1600
  </tr>
1601
  
1601

  
1602 1602
  <tr><td>
1603 1603
<p>
1604 1604
<input type=hidden name=dbdriver value=$form->{dbdriver}>
......
1701 1701
  $form->redirect($locale->text('Lockfile created!'));
1702 1702

  
1703 1703
}
1704

  
bin/mozilla/am.pl
385 385
		</td>
386 386
	      </tr>
387 387
	    </table>
388
	  </td>  
389
	</tr>  
388
	  </td>
389
	</tr>
390 390
|;
391 391
  }
392 392

  
......
944 944

  
945 945
  print qq|
946 946
  </form>
947
  
947

  
948 948
  </body>
949
  </html> 
949
  </html>
950 950
|;
951 951

  
952 952
  $lxdebug->leave_sub();
......
1163 1163
  }
1164 1164

  
1165 1165
  print qq|
1166
  
1166

  
1167 1167
  </form>
1168
  
1168

  
1169 1169
  </body>
1170
  </html> 
1170
  </html>
1171 1171
|;
1172 1172

  
1173 1173
  $lxdebug->leave_sub();
......
1216 1216
  <tr>
1217 1217
    <td align=right>| . $locale->text('Salesman') . qq|</td>
1218 1218
    <td><input name=salesman class=checkbox type=checkbox value=1 $form->{salesman}></td>
1219
  </tr> 
1219
  </tr>
1220 1220
  <td colspan=2><hr size=3 noshade></td>
1221 1221
  </tr>
1222 1222
</table>
......
1376 1376

  
1377 1377
  print qq|
1378 1378
  </form>
1379
  
1379

  
1380 1380
  </body>
1381
  </html> 
1381
  </html>
1382 1382
|;
1383 1383

  
1384 1384
  $lxdebug->leave_sub();
......
2119 2119

  
2120 2120
  print qq|
2121 2121
  </form>
2122
  
2122

  
2123 2123
  </body>
2124
  </html> 
2124
  </html>
2125 2125
|;
2126 2126

  
2127 2127
  $lxdebug->leave_sub();
......
2199 2199

  
2200 2200
  $lxdebug->leave_sub();
2201 2201
}
2202

  
bin/mozilla/ap.pl
392 392
       <td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}> $readonly</td>
393 393
       <td><input type=button name=transdate id="trigger1" value=|
394 394
      . $locale->text('button')
395
      . qq|></td>  
395
      . qq|></td>
396 396
       |;
397 397
    $button2 = qq|
398 398
       <td><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate}> $readonly</td>
......
504 504
    <td>
505 505
      <table width=100%>
506 506

  
507
$jsscript  
507
$jsscript
508 508
|;
509 509

  
510 510
  $amount  = $locale->text('Amount');
......
561 561

  
562 562
	  <input type=hidden name=oldinvtotal value=$form->{oldinvtotal}>
563 563
	  <input type=hidden name=oldtotalpaid value=$form->{oldtotalpaid}>
564
	  
564

  
565 565
	  <input type=hidden name=taxaccounts value="$form->{taxaccounts}">
566
	  
566

  
567 567
	  <td colspan=2></td>
568 568
          <td><select name=APselected>$form->{selectAP}</select></td>
569 569
	  <input type=hidden name=AP value="$form->{AP}">
570
	  
570

  
571 571
	</tr>
572 572
	<tr>
573 573
	  <th align=right nowrap>| . $locale->text('Notes') . qq|</th>
......
658 658
  print qq|
659 659
    <input type=hidden name=paidaccounts value=$form->{paidaccounts}>
660 660
    <input type=hidden name=selectAP_paid value="$form->{selectAP_paid}">
661
    
661

  
662 662
      </table>
663 663
    </td>
664 664
  </tr>
......
1446 1446
  </tr>
1447 1447
  <tr>
1448 1448
    <td><hr size=3 noshade></td>
1449
  </tr>  
1449
  </tr>
1450 1450
</table>
1451 1451

  
1452 1452
<br>
1453 1453
<form method=post action=$form->{script}>
1454
 
1454

  
1455 1455
<input name=callback type=hidden value="$form->{callback}">
1456
  
1456

  
1457 1457
<input type=hidden name=path value=$form->{path}>
1458 1458
<input type=hidden name=login value=$form->{login}>
1459 1459
<input type=hidden name=password value=$form->{password}>
1460
   
1460

  
1461 1461
<input class=submit type=submit name=action value="|
1462 1462
    . $locale->text('AP Transaction') . qq|">
1463 1463

  
......
1517 1517

  
1518 1518
  $lxdebug->leave_sub();
1519 1519
}
1520

  
bin/mozilla/ar.pl
410 410
       <td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate}></td>
411 411
       <td><input type=button name=transdate id="trigger1" value=|
412 412
      . $locale->text('button')
413
      . qq|></td>  
413
      . qq|></td>
414 414
       |;
415 415
    $button2 = qq|
416 416
       <td><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate}></td>
......
522 522
      <table width=100%>
523 523

  
524 524
$jsscript
525
          
525

  
526 526
  <input type=hidden name=AR_amount value="$form->{AR_amount}">
527 527
  <input type=hidden name=taxchart value="$form->{taxchart}">
528 528
  <input type=hidden name=rowcount value=$form->{rowcount}>
......
585 585
	  <td colspan=2></td>
586 586
	  <td><select name=ARselected>$form->{selectAR}</select></td>
587 587
          <input type=hidden name=AR value="$form->{AR}">
588
  
588

  
589 589
        </tr>
590 590
        <tr>
591 591
	  <th align=right>| . $locale->text('Notes') . qq|</th>
......
1030 1030
    } (@{ $form->{all_departments} });
1031 1031
  }
1032 1032

  
1033
  $department = qq| 
1034
        <tr> 
1033
  $department = qq|
1034
        <tr>
1035 1035
	  <th align=right nowrap>| . $locale->text('Department') . qq|</th>
1036 1036
	  <td colspan=3><select name=department>$form->{selectdepartment}</select></td>
1037 1037
	</tr>
......
1559 1559

  
1560 1560
  $lxdebug->leave_sub();
1561 1561
}
1562

  
bin/mozilla/ca.pl
92 92

  
93 93
  print qq|
94 94
<body>
95
  
95

  
96 96
<table border=0 width=100%>
97 97
  <tr><th class=listtop colspan=$colspan>$form->{title}</th></tr>
98 98
  <tr height="5"></tr>
......
513 513

  
514 514
  $lxdebug->leave_sub();
515 515
}
516

  
bin/mozilla/cp.pl
316 316
      </table>
317 317
    </td>
318 318
  </tr>
319
  
319

  
320 320
$jsscript
321 321
|;
322 322

  
......
781 781

  
782 782
  $lxdebug->leave_sub();
783 783
}
784

  
bin/mozilla/ct.pl
641 641
	  <input name=department_2 size=16 maxlength=75 tabindex=3 value="$form->{department_2}"></td>
642 642
          <td><input name=shiptodepartment_1 size=16 maxlength=75 value="$form->{shiptodepartment_1}">
643 643
	  <input name=shiptodepartment_2 size=16 maxlength=75 value="$form->{shiptodepartment_2}"></td>
644
	</tr>        
644
	</tr>
645 645
	<tr>
646 646
	  <th align=right nowrap>| . $locale->text('Street') . qq|</th>
647 647
	  <td><input name=street size=35 tabindex=4 maxlength=75 value="$form->{street}"></td>
......
766 766
          <th align=right>| . $locale->text('Bank Code Number') . qq|</th>
767 767
          <td><input name=bank_code size=10 tabindex=20 value="$form->{bank_code}"></td>
768 768
          <th align=right>| . $locale->text('Bank') . qq|</th>
769
          <td><input name=bank size=30 tabindex=21 value="$form->{bank}"></td>          
769
          <td><input name=bank size=30 tabindex=21 value="$form->{bank}"></td>
770 770
        </tr>
771 771
	<tr>
772 772
          $business
......
859 859
  }
860 860

  
861 861
  print qq|
862
 
862

  
863 863
  </form>
864 864

  
865 865
</body>
......
1171 1171
}
1172 1172

  
1173 1173
sub continue { &{ $form->{nextsub} } }
1174

  
bin/mozilla/datev.pl
61 61
	<tr>
62 62
	  <td align=left nowrap>| . $locale->text("Beraternummer") . qq|</td>
63 63
	  <td><input name=beraternr size=10 maxlength=7 value="$form->{beraternr}"></td>
64
	
64

  
65 65
	  <td align=left nowrap>| . $locale->text("DFV-Kennzeichen") . qq|</td>
66 66
	  <td><input name=dfvkz size=5 maxlength=2 value="$form->{dfvkz}"></td>
67 67
	</tr>
68 68
	<tr>
69 69
	  <td align=left nowrap>| . $locale->text("Beratername") . qq|</td>
70 70
	  <td><input name=beratername size=10 maxlength=9 value="$form->{beratername}"></td>
71
	
71

  
72 72
	  <td align=left nowrap>| . $locale->text("Password") . qq|</td>
73 73
	  <td><input name=passwort size=5 maxlength=4 value="$form->{passwort}"></td>
74 74
	</tr>
75 75
	<tr>
76 76
	  <td align=left nowrap>| . $locale->text("Mandantennummer") . qq|</td>
77 77
	  <td><input name=mandantennr size=10 maxlength=5 value="$form->{mandantennr}"></td>
78
	
78

  
79 79
	  <td align=left nowrap>| . $locale->text("Datentr?gernummer") . qq|</td>
80 80
	  <td><input name=datentraegernr size=5 maxlength=3 value="$form->{datentraegernr}"></td>
81
	</tr>	
81
	</tr>
82 82
	<tr>
83 83
	  <td><input checked name=kne type=checkbox class=checkbox value=1> |
84 84
    . $locale->text("Kontonummernerweiterung (KNE)")
85 85
    . qq|</td>
86 86
          <td></td>
87
	
87

  
88 88
	  <td align=left nowrap>| . $locale->text("Abrechnungsnummer") . qq|</td>
89 89
	  <td><input name=abrechnungsnr size=5 maxlength=3 value="$form->{abrechnungsnr}"></td>
90 90
	</tr>
......
93 93
    . $locale->text("Export Buchungsdaten")
94 94
    . qq|</td>
95 95
          <td></td>
96
          
96

  
97 97
	  <td><input name=exporttype type=radio class=radio value=1> |
98 98
    . $locale->text("Export Stammdaten")
99 99
    . qq|</td>
......
216 216
	  <td align=left></td>
217 217
          <td align=left><select name=monat>$form->{allemonate}</select></td>
218 218
        </tr>
219
        <tr>  
219
        <tr>
220 220
          <td align=left><input name=zeitraum class=radio type=radio value=quartal>&nbsp;</td><td align=left>|
221 221
    . $locale->text('Quartal')
222 222
    . qq|</td>
......
224 224
          <td align=left></td>
225 225
          <td align=left><select name=quartal>$form->{allequartale}</select></td>
226 226
        </tr>
227
        <tr> 
227
        <tr>
228 228
          <td align=left><input name=zeitraum class=radio type=radio value=zeit>&nbsp;</td><td align=left>|
229 229
    . $locale->text('Datum von')
230 230
    . qq|</td>
231 231
          <td align=left><input name=transdatefrom size=8></td>
232 232
	  <td align=left>| . $locale->text('bis') . qq|</td>
233
          <td align=left><input name=transdateto size=8></td>         	
233
          <td align=left><input name=transdateto size=8></td>
234 234
	</tr>
235 235
      </table>
236 236
    </td>
bin/mozilla/gl.pl
248 248
       <td><input name=datefrom id=datefrom size=11 title="$myconfig{dateformat}">
249 249
       <input type=button name=datefrom id="trigger1" value=|
250 250
      . $locale->text('button')
251
      . qq|></td>  
251
      . qq|></td>
252 252
       |;
253 253
    $button2 = qq|
254 254
       <td><input name=dateto id=dateto size=11 title="$myconfig{dateformat}">
......
1056 1056
       <td><input name=transdate id=transdate size=11 title="$myconfig{dateformat}" value=$form->{transdate} tabindex="2" $readonly></td>
1057 1057
       <td><input type=button name=transdate id="trigger1" value=|
1058 1058
      . $locale->text('button')
1059
      . qq|></td>  
1059
      . qq|></td>
1060 1060
       |;
1061 1061

  
1062 1062
    #write Trigger
......
1124 1124
	  </td>
1125 1125
	</tr>|;
1126 1126
  }
1127
  print qq|	
1127
  print qq|
1128 1128
	$department|;
1129 1129
  if ($form->{id}) {
1130 1130
    print qq|
......
1215 1215
      . $locale->text('Split Debit')
1216 1216
      . qq|"></td>
1217 1217
          <input  name=debit_splited type=hidden size=10 value=$form->{debit_splited}>
1218
	  </tr>          
1218
	  </tr>
1219 1219
          <tr>
1220 1220
	  <th align=right>| . $locale->text('Credit') . qq|</th>
1221 1221
	  <td><select name=creditchartselected tabindex="6">$form->{creditchart}</select></td>
......
1288 1288
      |;
1289 1289
    }
1290 1290
  }
1291
  print qq| 
1291
  print qq|
1292 1292
<input type=hidden name=path value=$form->{path}>
1293 1293
<input type=hidden name=login value=$form->{login}>
1294 1294
<input type=hidden name=password value=$form->{password}>
......
1598 1598
           function update_stilltopost (betrag){
1599 1599
           remaining = parseFloat(document.split_credit.creditpost.value) - parseFloat(betrag);
1600 1600
           document.split_credit.creditpost.value= remaining;
1601
           }           
1601
           }
1602 1602
</script>
1603 1603

  
1604 1604
<table>|;
......
1690 1690
           function update_stilltopost (betrag){
1691 1691
           remaining = parseFloat(document.split_debit.debitpost.value) - parseFloat(betrag);
1692 1692
           document.split_debit.debitpost.value= remaining;
1693
           }           
1693
           }
1694 1694
</script>
1695 1695

  
1696 1696
<table>|;
bin/mozilla/ic.pl
527 527

  
528 528
  print qq|
529 529
     <input class=submit type=submit name=action value="|
530
    . $locale->text('list') . qq|"> 
530
    . $locale->text('list') . qq|">
531 531
    </form>
532 532

  
533 533
   </body>
......
1262 1262

  
1263 1263
  print qq|
1264 1264
    <input type=hidden name=ndxs_counter value="$form->{ndxs_counter}">
1265
    
1265

  
1266 1266
    <input class=submit type=submit name=action value="|
1267 1267
    . $locale->text('choice') . qq|">|;
1268 1268

  
......
2259 2259

  
2260 2260
  print qq|
2261 2261
  <body onLoad="fokus()">
2262
 
2262

  
2263 2263

  
2264 2264
<form method=post name="ic" action=$form->{script}>
2265 2265

  
......
2325 2325
    . $locale->text('Updated')
2326 2326
    . qq|</th>
2327 2327
                $button1
2328
              </tr>  
2328
              </tr>
2329 2329
	      <tr>
2330 2330
		<th align="right" nowrap="true">| . $locale->text('List Price') . qq|</th>
2331 2331
		<td><input name=listprice size=11 value=$form->{listprice}></td>
......
2351 2351
    </td>
2352 2352
  </tr>
2353 2353
  $imagelinks
2354
  
2354

  
2355 2355
$jsscript
2356 2356
|;
2357 2357
  $lxdebug->leave_sub();
......
3044 3044
}
3045 3045

  
3046 3046
sub continue { &{ $form->{nextsub} } }
3047

  
bin/mozilla/ir.pl
271 271
       <td><input name=invdate id=invdate size=11 title="$myconfig{dateformat}" value=$form->{invdate}></td>
272 272
       <td><input type=button name=invdate id="trigger1" value=|
273 273
      . $locale->text('button')
274
      . qq|></td>  
274
      . qq|></td>
275 275
       |;
276 276
    $button2 = qq|
277 277
       <td width="13"><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate}></td>
......
328 328
	      <tr>
329 329
		<th align=right nowrap>| . $locale->text('Vendor') . qq|</th>
330 330
		<td colspan=3>$vendor</td>
331
		
331

  
332 332
                <th align=richt nowrap>|
333 333
    . $locale->text('Contact Person')
334 334
    . qq|</th>
335 335
                <td colspan=3>$contact</td>
336
		
336

  
337 337
                <input type=hidden name=vendor_id value=$form->{vendor_id}>
338 338
		<input type=hidden name=oldvendor value="$form->{oldvendor}">
339 339

  
......
391 391
  </tr>
392 392

  
393 393
$jsscript
394
    
394

  
395 395
<input type=hidden name=selectcurrency value="$form->{selectcurrency}">
396 396
<input type=hidden name=defaultcurrency value=$form->{defaultcurrency}>
397 397
<input type=hidden name=fxgain_accno value=$form->{fxgain_accno}>
......
551 551
  <tr>
552 552
    <td><hr size=3 noshade></td>
553 553
  </tr>
554
  <tr>   
554
  <tr>
555 555
    <th class=listtop align=left>Dokumente im Webdav-Repository</th>
556 556
  </tr>
557 557
    <table width=100%>
......
560 560
|;
561 561
    foreach $file (keys %{ $form->{WEBDAV} }) {
562 562
      $webdav_list .= qq|
563
      <tr>	
563
      <tr>
564 564
        <td align=left>$file</td>
565 565
        <td align=left><a href="$form->{WEBDAV}{$file}">$form->{WEBDAV}{$file}</a></td>
566 566
      </tr>
......
949 949

  
950 950
  $lxdebug->leave_sub();
951 951
}
952

  
bin/mozilla/is.pl
316 316
       <td><input name=invdate id=invdate size=11 title="$myconfig{dateformat}" value=$form->{invdate}></td>
317 317
       <td><input type=button name=invdate id="trigger1" value=|
318 318
      . $locale->text('button')
319
      . qq|></td>  
319
      . qq|></td>
320 320
       |;
321 321
    $button2 = qq|
322 322
       <td width="13"><input name=duedate id=duedate size=11 title="$myconfig{dateformat}" value=$form->{duedate}></td>
......
477 477
  </tr>
478 478

  
479 479
$jsscript
480
  
480

  
481 481
<!-- shipto are in hidden variables -->
482 482

  
483 483
<input type=hidden name=shiptoname value="$form->{shiptoname}">
......
645 645
  <tr>
646 646
    <td><hr size=3 noshade></td>
647 647
  </tr>
648
  <tr>   
648
  <tr>
... Dieser Diff wurde abgeschnitten, weil er die maximale Anzahl anzuzeigender Zeilen überschreitet.

Auch abrufbar als: Unified diff