Adaugare butoane Emite/Sterge Aviz#40
Open
florin-bc wants to merge 7 commits intoOblioSoftware:mainfrom
Open
Conversation
added 7 commits
March 18, 2026 19:11
…tocomplete option The autocomplete works with values saved in wp_options using WordPress Options API
Autocomplete notice fields upon window init with last notice/invoice used values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Am adaugat butoanele de emite si sterge aviz intrucat lipsesc.
In momentul de fata trebuie intai sa emit proforma si din proforma sa merg apoi in oblio ca sa emit aviz, ceea ce e ineficient.
Implementarea mea are totusi un mic "bug" cred, in sensul ca atunci cand incerci sa generezi a 2-a oara avizul de transport (dupa ce l-ai sters pe primul) din WooCommerce, apare popup-ul verde cu "Avizul a fost emis...", dar in Oblio nu apare avizul. Prima data cand emit avizul pentru o comanda, totul merge ok.
Totodata, cand incercam sa emit proforme, pe modelul vechi pentru comenzile create de mine in WooCommerce admin, imi dadea eroarea cu "Nu se pot genera proforme pentru comanzile incasate prin card", ceea ce nu era corect, pentru ca nu selectasem niciunde metoda de plata ca fiind cu cardul (nici nu exista aceasta optiune in setarile mele de WooCommerce) si ma incurca.



Este mai mult facut on the fly, deci spuneti-mi ce nu e bine si incerc sa modific.