Revision 3879426c
Von Moritz Bunkus vor mehr als 15 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
529 | 529 |
if ($form->{type} eq "credit_note") { |
530 | 530 |
$button1 = qq| |
531 | 531 |
<td nowrap><input name="invdate" id="invdate" size="11" title="$myconfig{dateformat}" value="$form->{invdate}" onBlur=\"check_right_date_format(this)\"> |
532 |
<input type="button" name="invdate" id="trigger1" value="| |
|
532 |
<input type="button" name="invdate_button" id="trigger1" value="|
|
|
533 | 533 |
. $locale->text('button') . qq|"></td>|; |
534 | 534 |
|
535 | 535 |
#write Trigger |
... | ... | |
540 | 540 |
} else { |
541 | 541 |
$button1 = qq| |
542 | 542 |
<td nowrap><input name="invdate" id="invdate" size="11" title="$myconfig{dateformat}" value="$form->{invdate}" onBlur=\"check_right_date_format(this)\"> |
543 |
<input type="button" name="invdate" id="trigger1" value="| |
|
543 |
<input type="button" name="invdate_button" id="trigger1" value="|
|
|
544 | 544 |
. $locale->text('button') . qq|"></td> |
545 | 545 |
|; |
546 | 546 |
$button2 = qq| |
547 | 547 |
<td width="13"><input name="duedate" id="duedate" size="11" title="$myconfig{dateformat}" value="$form->{duedate}" onBlur=\"check_right_date_format(this)\"> |
548 |
<input type="button" name="duedate" id="trigger2" value="| |
|
548 |
<input type="button" name="duedate_button" id="trigger2" value="|
|
|
549 | 549 |
. $locale->text('button') . qq|"></td> |
550 | 550 |
|; |
551 | 551 |
$button3 = qq| |
552 | 552 |
<td width="13"><input name="deliverydate" id="deliverydate" size="11" title="$myconfig{dateformat}" value="$form->{deliverydate}" onBlur=\"check_right_date_format(this)\"> |
553 |
<input type="button" name="deliverydate" id="trigger3" value="| |
|
553 |
<input type="button" name="deliverydate_button" id="trigger3" value="|
|
|
554 | 554 |
. $locale->text('button') . qq|"></td> |
555 | 555 |
|; |
556 | 556 |
|
... | ... | |
911 | 911 |
<tr valign="top"> |
912 | 912 |
<td>$notes</td> |
913 | 913 |
<td>$intnotes</td> |
914 |
<td><select name="payment_id" onChange="if (this.value) set_duedate(['payment_id__' + this.value],['duedate'])">$payment |
|
914 |
<td><select name="payment_id" onChange="if (this.value) set_duedate(['payment_id__' + this.value, 'invdate__' + invdate.value],['duedate'])">$payment
|
|
915 | 915 |
</select></td> |
916 | 916 |
</tr> |
917 | 917 |
$follow_ups_block |
Auch abrufbar als: Unified diff
Die Berechnung des Fälligkeitsdatums anhand des momentan eingetragenen Rechnungsdatums durchführen, und nicht anhand des Serverdatums.
Fix für Bug 927.