kait Posted May 15, 2013 Share Posted May 15, 2013 Zdravim, chtel jsem se zeptat na nasledujici. V testovaci verzi eshopu jsem si vytvoril 9 objednavek. Platil jsem testovaci branou GoPay tudiz se mi vygenerovaly faktury se stejnym cislem jako objednavka - super. Problem ale je, ze kdyz v backendu eshopu vlezu do objednavek a zacnu napriklad objednavkou cislo 9 a u ni vyberu stav odeslano, automaticky se mi vygeneruje dodaci list, ale bohuzel s cislem 1 namisto 9, casem by to mohlo byt matouci. Kdybych zacal objednavkou cislo 1 a zmenil stav na odeslano u ni, tak budu mit spravne dodaci list cislo 1, ale to bych nemohl resit objednavky napreskacku, coz je potreba. Jak to resite vy? Diky za nazory pripadne help. Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted May 15, 2013 Share Posted May 15, 2013 Tak když si nic ještě neodeslal, tak se ti tam asi logicky nenapíše 9... Link to comment Share on other sites More sharing options...
kait Posted May 15, 2013 Author Share Posted May 15, 2013 Takze je to vlastnost, ale neni lepsi aby zakaznik mel k dispozici dokumenty FA000009 a DL000009 namisto FA000009 a DL000001? Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted May 15, 2013 Share Posted May 15, 2013 Zákazníkovi to je u prde... Link to comment Share on other sites More sharing options...
kait Posted May 15, 2013 Author Share Posted May 15, 2013 A rada jak toho docilit? Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted May 15, 2013 Share Posted May 15, 2013 Řekl bych že nijak, protože tušim že si to oveřuje počet řádků v DB a dle toho to bude generovat další číslo. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now