Ticket #602 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Unable to import rate cards: "No Tarriff Plan"

Reported by: sri2talk Assigned to: areski
Priority: major Milestone:
Component: General Version: Stable 1.3.3 (doudou08)
Keywords: import Cc:

Description

When you try to import ratecards from a csv file, the confirmation screen comes up showing the fields and the values that will be imported. However on cliclink "Continue to Import the ratecard", we get the error "No tarriff plan".

The problem is in file: A2Billing_UI/Public/CC_ratecard_import_analyse.php. The correct javascript function is as follows:

function sendtoupload(form){

    document.forms["myform"].elements["task"].value = "upload";
        document.forms["myform"].submit();
}

Notice the myform in document.formsmyform?.submit();

Change History

07/19/09 18:15:04 changed by areski

  • status changed from new to closed.
  • resolution set to fixed.

Thanks for this fix, just committed in r2202

I believe this work fine on Firefox anyway, as we never changed this javascript function in the past and it was always fine.

Yours, /Areski