Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2165adf6

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

  • ID 2165adf654de309f8308eb7ab5363d1337c2754e
  • Vorgänger 5fc6bb3c
  • Nachfolger 275dbec9

Kosmetik: Tabs

Unterschiede anzeigen:

bin/mozilla/cp.pl
235 235
    <td>
236 236
      <table width=100%>
237 237
        <tr valign=top>
238
	  <td>
239
	    <table>
240
	      <tr>
241
	        <td align=right>
242
		<input name=all_vc type=checkbox style=checkbox value=Y $allvc>
243
		<input type=hidden name="oldall_vc" value="$form->{all_vc}"></td>
244
		<th align=left>| . $locale->text('All') . qq|</th>
245
	      </tr>
246
	      <tr>
247
		<th align=right>$vclabel</th>
248
		<td>$vc</td>
238
          <td>
239
            <table>
240
              <tr>
241
                <td align=right>
242
                <input name=all_vc type=checkbox style=checkbox value=Y $allvc>
243
                <input type=hidden name="oldall_vc" value="$form->{all_vc}"></td>
244
                <th align=left>| . $locale->text('All') . qq|</th>
245
              </tr>
246
              <tr>
247
                <th align=right>$vclabel</th>
248
                <td>$vc</td>
249 249
                <input type=hidden name="select$form->{vc}" value="$form->{"select$form->{vc}"}">
250 250
                <input type=hidden name="$form->{vc}_id" value=$form->{"$form->{vc}_id"}>
251
		<input type=hidden name="old$form->{vc}" value="$form->{"old$form->{vc}"}">
252
	      </tr>
253
	      <tr valign=top>
254
		<th align=right nowrap>| . $locale->text('Address') . qq|</th>
255
		<td colspan=2>
256
		  <table>
257
		    <tr>
258
		      <td>$form->{street}</td>
259
		    </tr>
260
		    <tr>
261
		      <td>$form->{zipcode}</td>
262
		    </tr>
263
		    <tr>
264
		      <td>$form->{city}</td>
265
		    </tr>
266
		    <tr>
267
		      <td>$form->{country}</td>
268
		    </tr>
269
		  </table>
270
		</td>
271
		<input type=hidden name=street value="$form->{street}">
272
		<input type=hidden name=zipcode value="$form->{zipcode}">
273
		<input type=hidden name=city value="$form->{city}">
274
		<input type=hidden name=country value="$form->{country}">
275
	      </tr>
276
	      <tr>
277
		<th align=right>| . $locale->text('Memo') . qq|</th>
278
		<td colspan=2><input name="memo" size=30 value="$form->{memo}"></td>
279
	      </tr>
280
	    </table>
281
	  </td>
282
	  <td align=right>
283
	    <table>
284
	      $department
285
	      <tr>
286
		<th align=right nowrap>| . $locale->text('Account') . qq|</th>
287
		<td colspan=3><select name=account>$form->{selectaccount}</select>
288
		<input type=hidden name=selectaccount value="$form->{selectaccount}">
289
		</td>
290
	      </tr>
291
	      <tr>
292
		<th align=right nowrap>| . $locale->text('Date') . qq|</th>
251
                <input type=hidden name="old$form->{vc}" value="$form->{"old$form->{vc}"}">
252
              </tr>
253
              <tr valign=top>
254
                <th align=right nowrap>| . $locale->text('Address') . qq|</th>
255
                <td colspan=2>
256
                  <table>
257
                    <tr>
258
                      <td>$form->{street}</td>
259
                    </tr>
260
                    <tr>
261
                      <td>$form->{zipcode}</td>
262
                    </tr>
263
                    <tr>
264
                      <td>$form->{city}</td>
265
                    </tr>
266
                    <tr>
267
                      <td>$form->{country}</td>
268
                    </tr>
269
                  </table>
270
                </td>
271
                <input type=hidden name=street value="$form->{street}">
272
                <input type=hidden name=zipcode value="$form->{zipcode}">
273
                <input type=hidden name=city value="$form->{city}">
274
                <input type=hidden name=country value="$form->{country}">
275
              </tr>
276
              <tr>
277
                <th align=right>| . $locale->text('Memo') . qq|</th>
278
                <td colspan=2><input name="memo" size=30 value="$form->{memo}"></td>
279
              </tr>
280
            </table>
281
          </td>
282
          <td align=right>
283
            <table>
284
              $department
285
              <tr>
286
                <th align=right nowrap>| . $locale->text('Account') . qq|</th>
287
                <td colspan=3><select name=account>$form->{selectaccount}</select>
288
                <input type=hidden name=selectaccount value="$form->{selectaccount}">
289
                </td>
290
              </tr>
291
              <tr>
292
                <th align=right nowrap>| . $locale->text('Date') . qq|</th>
293 293
                $button1
294
	      </tr>
295
	      <tr>
296
		<th align=right nowrap>| . $locale->text('Currency') . qq|</th>
297
		<td><select name=currency>$form->{selectcurrency}</select></td>
298
		<input type=hidden name=selectcurrency value="$form->{selectcurrency}">
299
		<input type=hidden name=oldcurrency value=$form->{oldcurrency}>
300
	      </tr>
301
	      $exchangerate
302
	      <tr>
303
		<th align=right nowrap>| . $locale->text('Source') . qq|</th>
304
		<td colspan=3><input name=source value="$form->{source}" size=10></td>
305
	      </tr>
306
	      <tr>
307
		<th align="right" nowrap>| . $locale->text('Amount') . qq|</th>
308
		<td colspan="3"><input name="amount" size="10" value="|
294
              </tr>
295
              <tr>
296
                <th align=right nowrap>| . $locale->text('Currency') . qq|</th>
297
                <td><select name=currency>$form->{selectcurrency}</select></td>
298
                <input type=hidden name=selectcurrency value="$form->{selectcurrency}">
299
                <input type=hidden name=oldcurrency value=$form->{oldcurrency}>
300
              </tr>
301
              $exchangerate
302
              <tr>
303
                <th align=right nowrap>| . $locale->text('Source') . qq|</th>
304
                <td colspan=3><input name=source value="$form->{source}" size=10></td>
305
              </tr>
306
              <tr>
307
                <th align="right" nowrap>| . $locale->text('Amount') . qq|</th>
308
                <td colspan="3"><input name="amount" size="10" value="|
309 309
    . $form->format_amount(\%myconfig, $form->{amount}, 2) . qq|" onBlur=\"check_right_number_format(this)\"></td>
310
	      </tr>
311
	    </table>
312
	  </td>
313
	</tr>
310
              </tr>
311
            </table>
312
          </td>
313
        </tr>
314 314
      </table>
315 315
    </td>
316 316
  </tr>
......
622 622
      }
623 623

  
624 624
      # Modified by J.Zach, see abovev
625
      $amount += $form->{"paid_$i"}; 
625
      $amount += $form->{"paid_$i"};
626 626

  
627 627
    } else {
628 628
      $form->{"paid_$i"} = "";
......
636 636
  }
637 637

  
638 638
  # Line added by J.Zach, see above
639
  $form->{amount}=$amount; 
639
  $form->{amount}=$amount;
640 640

  
641 641
  &form_header;
642 642
  &list_invoices;

Auch abrufbar als: Unified diff