Jump to content

Payment Invoice via Apply Credit does not work in Portal Template


Recommended Posts

Hello,

 

Bug Report - Payment Invoice via "Apply Credit" does not work in "Portal" Template

 

Apply Credit Work nice in Default Template,

But in Portal Template When Click On "Apply Credit" Button on invoice User Redirect To Clientarea.php and nothing happen.

 

Im sure /templates/portal/viewinvoice.tpl have problem. ( i replaced this file from default template and worked nice )

 

Please Help Me And Fix This Problem,

 

Thanks.

Link to comment
Share on other sites

Before fix, you can manualy do that. In invoiceviews.php, relplace code

 

{if $manualapplycredit}

<div class="creditbox">{$LANG.invoiceaddcreditdesc1} {$totalcredit}. {$LANG.invoiceaddcreditdesc2}<br />

<form method="post" action="{$smarty.server.PHP_SELF}?id={$invoiceid}"><input type="hidden" name="applycredit" value="true" />

{$LANG.invoiceaddcreditamount}: <input type="text" name="creditamount" size="10" value="{$creditamount}" /> <input type="submit" value="{$LANG.invoiceaddcreditapply}" />

</form></div>

<br />

{/if}

 

To

 

{if $manualapplycredit}

<form method="post" action="{$smarty.server.PHP_SELF}?id={$invoiceid}">

<input type="hidden" name="applycredit" value="true" />

<div class="creditbox">

{$LANG.invoiceaddcreditdesc1} {$totalcredit}. {$LANG.invoiceaddcreditdesc2}<br />

{$LANG.invoiceaddcreditamount}: <input type="text" name="creditamount" size="10" value="{$creditamount}" /> <input type="submit" value="{$LANG.invoiceaddcreditapply}" />

</div>

</form>

{/if}

Edited by AllHostings.ru
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated