X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcreate_recurrent_invoices.php;h=2cc0de7efa9fa95920682a18a5c0e59e5a7cbb8f;hb=2d01d55a1449c6187b25743f8e08ccf8d79bd713;hp=f7704e5a480366773774aa5e7dda81c3e19ba6d6;hpb=f4e4bc5a2ff9f97a20b3a62265926a4c677163f9;p=fa-stable.git diff --git a/sales/create_recurrent_invoices.php b/sales/create_recurrent_invoices.php index f7704e5a..2cc0de7e 100644 --- a/sales/create_recurrent_invoices.php +++ b/sales/create_recurrent_invoices.php @@ -175,17 +175,17 @@ if ($id != -1) $_POST['trans_date'] = $to; start_form(); - start_table(TABLESTYLE, "width=50%"); - label_row(_('Description:'), $myrow["description"]); - label_row(_('Template:'), get_customer_trans_view_str(30, $myrow["order_no"])); - label_row(_('Number of invoices:'), $count); - date_row(_('Invoice date:'), 'trans_date'); - text_row(_('Invoice notice:'), 'memo', sprintf(_("Recurrent Invoice covers period %s - %s."), $from, add_days($to, -1)), - 100, 100); - end_table(); - hidden('from', $from, true); - hidden('to', $to, true); - br(); + start_table(TABLESTYLE, "width=50%"); + label_row(_('Description:'), $myrow["description"]); + label_row(_('Template:'), get_customer_trans_view_str(ST_SALESORDER, $myrow["order_no"])); + label_row(_('Number of invoices:'), $count); + date_row(_('Invoice date:'), 'trans_date'); + text_row(_('Invoice notice:'), 'memo', sprintf(_("Recurrent Invoice covers period %s - %s."), $from, add_days($to, -1)), + 100, 100); + end_table(); + hidden('from', $from, true); + hidden('to', $to, true); + br(); submit_center_first('confirmed'.$id, _('Create'), _('Create recurrent invoices'), false, ICON_OK); submit_center_last('cancel', _('Cancel'), _('Return to recurrent invoices'), false, ICON_ESCAPE); submit_js_confirm("do_create".$id, sprintf(_("You are about to issue %s invoices.\n Do you want to continue?"), $count)); @@ -215,7 +215,7 @@ while ($myrow = db_fetch($result)) alt_table_row_color($k); label_cell($myrow["description"]); - label_cell(get_customer_trans_view_str(30, $myrow["order_no"])); + label_cell(get_customer_trans_view_str(ST_SALESORDER, $myrow["order_no"]), "nowrap align='right'"); if ($myrow["debtor_no"] == 0) { label_cell("");