Closed mladjo2505 closed 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.
Also look at the state on lodo2016, it looks like It jammed on a org nr
We did a review, We will do testing on staging environment before i add my final review.
Testet, all good, ready to be deployed.
Closes #446 Should be deployed with FB PR # 759