dodoas / lodo

Lodo Regnskap
MIT License
3 stars 0 forks source link

Fix create customer on outgoing invoice download page #448

Closed mladjo2505 closed 7 years ago

mladjo2505 commented 7 years ago

Closes #446 Should be deployed with FB PR # 759

stoivo commented 7 years ago
When we want to download a invoice. 
Match it on firma id. 
  if there is one match
    if we have customer nr and it matches, it is awesome.
    if it doesn't match 
      print a waring message "Kundenummer i fakturabank(xxx) og lodo(yyy) er ulike" where we print "klar til bilagsføring ...""
      it is just a waring and we should be able to bookkeep this invoice, Use the accountplan where the Firma id matches
  else when there is several matches
    if one matches on customer nr use that one 
      print a waring message like "Kundenummer i fakturabank(xxx) og lodo(yyy) er like, fant flere match(xxx,yyy,zzz)"
    else no matches
      print a waring message like "Kundenummer i fakturabank(xxx) og lodo(yyy) er ulike, fant flere men ingen match(xxx,yyy,zzz)"

Every place where we refer to a accountplan make a link to the accountplan.
stoivo commented 7 years ago

Also look at the state on lodo2016, it looks like It jammed on a org nr

stoivo commented 7 years ago

We did a review, We will do testing on staging environment before i add my final review.

hildegunn95 commented 7 years ago

Testet, all good, ready to be deployed.