Skip to content

Update Sale_lib.php - #7

Merged
jekkos merged 1 commit into
opensourcepos:masterfrom
flodef:patch-1
Nov 25, 2014
Merged

jekkos merged 1 commit into
opensourcepos:masterfrom
flodef:patch-1

Conversation

@flodef

@flodef flodef commented Nov 11, 2014

Copy link
Copy Markdown
Contributor

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)

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)
@jekkos

jekkos commented Nov 24, 2014

Copy link
Copy Markdown
Member

Is the edit_payment method doing something wrong here? I might need to check that first. First modification looks good.

jekkos added a commit that referenced this pull request Nov 25, 2014
@jekkos
jekkos merged commit 969abe1 into opensourcepos:master Nov 25, 2014
@flodef

flodef commented Nov 25, 2014

Copy link
Copy Markdown
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".

daN4cat pushed a commit that referenced this pull request Jan 29, 2017
@odiea odiea mentioned this pull request May 1, 2023
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants