// fixed add order payment

This commit is contained in:
aFolletete committed 2012-05-24 14:45:25 +00:00
1 parent 4cc33c3170
commit e1987b3ef4
1 file changed
+3 -3
@@ -322,7 +322,6 @@
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
{if count($not_paid_invoices_collection) > 0}
<tr class="current-edit"> <tr class="current-edit">
<td><input type="text" name="payment_date" class="datepicker" size="17" value="{date('Y-m-d H:i:s')}" /></td> <td><input type="text" name="payment_date" class="datepicker" size="17" value="{date('Y-m-d H:i:s')}" /></td>
<td> <td>
@@ -335,7 +334,7 @@
<td> <td>
<input type="text" name="payment_transaction_id" value="" /> <input type="text" name="payment_transaction_id" value="" />
</td> </td>
<td> <td {if count($not_paid_invoices_collection) <= 0}colspan="2"{/if}>
<input type="text" name="payment_amount" size="5" value="" /> <input type="text" name="payment_amount" size="5" value="" />
<select name="payment_currency"> <select name="payment_currency">
{foreach from=$currencies item=current_currency} {foreach from=$currencies item=current_currency}
@@ -343,6 +342,7 @@
{/foreach} {/foreach}
</select> </select>
</td> </td>
{if count($not_paid_invoices_collection) > 0}
<td> <td>
<select name="payment_invoice" id="payment_invoice"> <select name="payment_invoice" id="payment_invoice">
{foreach from=$not_paid_invoices_collection item=invoice} {foreach from=$not_paid_invoices_collection item=invoice}
@@ -350,9 +350,9 @@
{/foreach} {/foreach}
</select> </select>
</td> </td>
{/if}
<td><input class="button" type="submit" name="submitAddPayment" value="Add" /></td> <td><input class="button" type="submit" name="submitAddPayment" value="Add" /></td>
</tr> </tr>
{/if}
</tbody> </tbody>
</table> </table>
</form> </form>