Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b65a230d

Von Sven Schöling vor fast 15 Jahren hinzugefügt

  • ID b65a230d60e86d2c18a3ab7222379905aea5ecd7
  • Vorgänger 3cbc223a
  • Nachfolger 7e9a98a0

Tabs aus *.pl Dateien entfernt.

Unterschiede anzeigen:

bin/mozilla/ct.pl
347 347

  
348 348
#  # saving the history
349 349
#  if(!exists $form->{addition}) {
350
#  	$form->{addition} = "ADD TRANSACTION";
351
#  	$form->save_history($form->dbconnect(\%myconfig));
350
#    $form->{addition} = "ADD TRANSACTION";
351
#    $form->save_history($form->dbconnect(\%myconfig));
352 352
#  }
353 353
#  # /saving the history
354 354

  
......
381 381
  # saving the history
382 382
  if(!exists $form->{addition}) {
383 383
    $form->{snumbers} = qq|invnumber_| . $form->{invnumber};
384
  	$form->{addition} = "SAVED";
385
  	$form->save_history($form->dbconnect(\%myconfig));
384
    $form->{addition} = "SAVED";
385
    $form->save_history($form->dbconnect(\%myconfig));
386 386
  }
387 387
  # /saving the history
388 388
  &add_transaction;
......
401 401
  # saving the history
402 402
  if(!exists $form->{addition}) {
403 403
    $form->{snumbers} = qq|invnumber_| . $form->{invnumber};
404
  	$form->{addition} = "SAVED";
405
  	$form->save_history($form->dbconnect(\%myconfig));
404
    $form->{addition} = "SAVED";
405
    $form->save_history($form->dbconnect(\%myconfig));
406 406
  }
407 407
  # /saving the history
408 408
  &add_transaction;
......
426 426
  # saving the history
427 427
  if(!exists $form->{addition}) {
428 428
    $form->{snumbers} = qq|invnumber_| . $form->{invnumber};
429
  	$form->{addition} = "SAVED";
430
  	$form->save_history($form->dbconnect(\%myconfig));
429
    $form->{addition} = "SAVED";
430
    $form->save_history($form->dbconnect(\%myconfig));
431 431
  }
432 432
  # /saving the history
433 433
  &add_transaction;
......
447 447
  # saving the history
448 448
  if(!exists $form->{addition}) {
449 449
    $form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
450
  	$form->{addition} = "SAVED";
451
  	$form->save_history($form->dbconnect(\%myconfig));
450
    $form->{addition} = "SAVED";
451
    $form->save_history($form->dbconnect(\%myconfig));
452 452
  }
453 453
  # /saving the history
454 454
  &add_transaction;
......
468 468
  # saving the history
469 469
  if(!exists $form->{addition}) {
470 470
    $form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
471
  	$form->{addition} = "SAVED";
472
  	$form->save_history($form->dbconnect(\%myconfig));
471
    $form->{addition} = "SAVED";
472
    $form->save_history($form->dbconnect(\%myconfig));
473 473
  }
474 474
  # /saving the history
475 475
  &add_transaction;
......
494 494
  # saving the history
495 495
  if(!exists $form->{addition}) {
496 496
    $form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
497
  	$form->{addition} = "SAVED";
498
  	$form->save_history($form->dbconnect(\%myconfig));
497
    $form->{addition} = "SAVED";
498
    $form->save_history($form->dbconnect(\%myconfig));
499 499
  }
500 500
  # /saving the history
501 501
  &add_transaction;
......
528 528
  if(!exists $form->{addition}) {
529 529
    $form->{snumbers} = ($form->{"db"} eq "customer" ? qq|customernumber_| . $form->{customernumber} : qq|vendornumber_| . $form->{vendornumber});
530 530
    $form->{addition} = "SAVED";
531
  	$form->save_history($form->dbconnect(\%myconfig));
531
    $form->save_history($form->dbconnect(\%myconfig));
532 532
  }
533 533
  # /saving the history
534 534
  $form->redirect($locale->text($msg));
......
567 567
  # saving the history
568 568
  if(!exists $form->{addition}) {
569 569
    $form->{snumbers} = ($form->{"db"} eq "customer" ? qq|customernumber_| . $form->{customernumber} : qq|vendornumber_| . $form->{vendornumber});
570
  	$form->{addition} = "SAVED";
571
  	$form->save_history($form->dbconnect(\%myconfig));
570
    $form->{addition} = "SAVED";
571
    $form->save_history($form->dbconnect(\%myconfig));
572 572
  }
573 573
  # /saving the history
574 574
  &edit;
......
592 592
  # saving the history
593 593
  if(!exists $form->{addition}) {
594 594
    $form->{snumbers} = ($form->{"db"} eq "customer" ? qq|customernumber_| . $form->{customernumber} : qq|vendornumber_| . $form->{vendornumber});
595
  	$form->{addition} = "DELETED";
596
  	$form->save_history($form->dbconnect(\%myconfig));
595
    $form->{addition} = "DELETED";
596
    $form->save_history($form->dbconnect(\%myconfig));
597 597
  }
598 598
  # /saving the history
599 599
  $form->redirect($locale->text($msg));

Auch abrufbar als: Unified diff