Repository navigation
Update Sale_lib.php - #7
Merged
Merged
Conversation
Clean "add_payment" to be simpler : don't need to declare $payment in the main as it used only to add to an existing array Fix "edit_payment" that was trying to set a payment on the $payment_id (expected payment data : $payments)
Member
|
Is the edit_payment method doing something wrong here? I might need to check that first. First modification looks good. |
Contributor
Author
|
Yes, the "edit_payment" method does not work at all because the "set_payment" method is expected the "payment_data" which is in $payments, not in "payment_id". |
23 of 34 tasks
joselovb
added a commit
to joselovb/ospos-tailwind
that referenced
this pull request
Jun 28, 2026
Login mostraba solo "powered by" — regla dura opensourcepos#7 requiere el texto de copyright/versión/commit en cada página. Ahora usa el mismo markup que partial/footer.php (lang copyrights, link opensourcepos.org, versión, commit SHA). Agrega use Config\OSPOS al archivo. Cierra duda del backlog. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
ismaeldouglasdev
added a commit
to ismaeldouglasdev/opensourcepos
that referenced
this pull request
Aug 2, 2026
…ors list, reprint last sale, beep sounds, stock badge, qty steppers, change breakdown - opensourcepos#3 New Caixa module (cash_flow table + seeds, Cash controller/model, manage/form views, lang pt-BR/en, routes, header menu) - opensourcepos#5 Editable daily sales target with progress bar on Home dashboard (home/saveDailyTarget) - opensourcepos#7 Sales-per-hour bar chart on Home dashboard - opensourcepos#6 Fiado V1: debtors list (customers with open account_receivable balance) - opensourcepos#4 Checkout modal shows troco breakdown in notes/coins - opensourcepos#8 Inline quantity editing in register cart with +/- steppers and auto-submit on change - opensourcepos#12 Reimprimir Última Venda button (Printer::postQuickPrintLast) - opensourcepos#13 WebAudio beep feedback on scan/add/payment/finish - opensourcepos#10 Stock alert badge on ITENS nav link
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.
Clean "add_payment" to be simpler : don't need to declare $payment in the main as it used only to add to an existing array
Fix "edit_payment" that was trying to set a payment on the $payment_id (expected payment data : $payments)