Revision 1cd85a06
Von Philip Reetz vor mehr als 15 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
1535 | 1535 |
$lxdebug->leave_sub(); |
1536 | 1536 |
} |
1537 | 1537 |
|
1538 |
|
|
1539 |
sub vendor_invoice { |
|
1540 |
$lxdebug->enter_sub(); |
|
1541 |
|
|
1542 |
$auth->assert('invoice_edit'); |
|
1543 |
|
|
1544 |
|
|
1545 |
$form->{script} = 'ir.pl'; |
|
1546 |
$script = "ir"; |
|
1547 |
$form->{type} = "invoice"; |
|
1548 |
$locale = new Locale "$myconfig{countrycode}", "$script"; |
|
1549 |
|
|
1550 |
require "bin/mozilla/$form->{script}"; |
|
1551 |
&add; |
|
1552 |
|
|
1553 |
$lxdebug->leave_sub(); |
|
1554 |
} |
|
1555 |
|
|
1556 |
sub ap_transaction { |
|
1557 |
$lxdebug->enter_sub(); |
|
1558 |
|
|
1559 |
$auth->assert('general_ledger'); |
|
1560 |
|
|
1561 |
|
|
1562 |
$form->{script} = 'ap.pl'; |
|
1563 |
$script = "ap"; |
|
1564 |
$locale = new Locale "$myconfig{countrycode}", "$script"; |
|
1565 |
|
|
1566 |
require "bin/mozilla/$form->{script}"; |
|
1567 |
&add; |
|
1568 |
|
|
1569 |
$lxdebug->leave_sub(); |
|
1570 |
} |
|
1571 |
|
|
1538 | 1572 |
sub storno { |
1539 | 1573 |
$lxdebug->enter_sub(); |
1540 | 1574 |
|
bin/mozilla/ar.pl | ||
---|---|---|
1620 | 1620 |
$lxdebug->leave_sub(); |
1621 | 1621 |
} |
1622 | 1622 |
|
1623 |
sub sales_invoice { |
|
1624 |
$lxdebug->enter_sub(); |
|
1625 |
|
|
1626 |
$auth->assert('invoice_edit'); |
|
1627 |
|
|
1628 |
|
|
1629 |
$form->{script} = 'is.pl'; |
|
1630 |
$script = "is"; |
|
1631 |
$form->{type} = "invoice"; |
|
1632 |
$locale = new Locale "$myconfig{countrycode}", "$script"; |
|
1633 |
|
|
1634 |
require "bin/mozilla/$form->{script}"; |
|
1635 |
&add; |
|
1636 |
|
|
1637 |
$lxdebug->leave_sub(); |
|
1638 |
} |
|
1639 |
|
|
1640 |
sub ar_transaction { |
|
1641 |
$lxdebug->enter_sub(); |
|
1642 |
|
|
1643 |
$auth->assert('general_ledger'); |
|
1644 |
|
|
1645 |
|
|
1646 |
$form->{script} = 'ar.pl'; |
|
1647 |
$script = "ar"; |
|
1648 |
$locale = new Locale "$myconfig{countrycode}", "$script"; |
|
1649 |
|
|
1650 |
require "bin/mozilla/$form->{script}"; |
|
1651 |
&add; |
|
1652 |
|
|
1653 |
$lxdebug->leave_sub(); |
|
1654 |
} |
|
1655 |
|
|
1656 |
|
|
1657 |
|
|
1623 | 1658 |
sub storno { |
1624 | 1659 |
$lxdebug->enter_sub(); |
1625 | 1660 |
|
templates/webpages/ct/form_footer_de.html | ||
---|---|---|
10 | 10 |
<br> |
11 | 11 |
<input class="submit" type="submit" name="action" accesskey="s" value="Speichern"> |
12 | 12 |
<input class="submit" type="submit" name="action" accesskey="s" value="Speichern und schlie?en"> |
13 |
[%- IF is_cumstomer %]
|
|
13 |
[%- IF is_customer %] |
|
14 | 14 |
<input class="submit" type="submit" name="action" value="Speichern und Debitorenbuchung erfassen"> |
15 | 15 |
[%- ELSE %] |
16 | 16 |
<input class="submit" type="submit" name="action" value="Speichern und Kreditorenbuchung erfassen"> |
templates/webpages/ct/form_footer_master.html | ||
---|---|---|
10 | 10 |
<br> |
11 | 11 |
<input class="submit" type="submit" name="action" accesskey="s" value="<translate>Save</translate>"> |
12 | 12 |
<input class="submit" type="submit" name="action" accesskey="s" value="<translate>Save and Close</translate>"> |
13 |
[%- IF is_cumstomer %]
|
|
13 |
[%- IF is_customer %] |
|
14 | 14 |
<input class="submit" type="submit" name="action" value="<translate>Save and AR Transaction</translate>"> |
15 | 15 |
[%- ELSE %] |
16 | 16 |
<input class="submit" type="submit" name="action" value="<translate>Save and AP Transaction</translate>"> |
Auch abrufbar als: Unified diff
Bug #899 behoben: Buttons fuer neue Belege funktionierten nicht in den Listenansichten, aehnlicher Fehler in der Kundendetailmaske behoben