Guys, PHP Help ekak one ?

Chandi_Bandi

Well-known member
  • May 28, 2016
    264
    277
    63
    Terune na 😕

    joins hariyanne nedda?
    Mekai case eka, Billing system ekaka pending invoices ( credit ) thiyanawane. mata eka section ekaking e credit customer wa thorala payment ekak karanna.

    Menna me wage

    1.PNG


    mama me details ajax ekakin function ekakata pass kara gannawa.

    Mata one payment amount eka total due ekin adu we wi pay wenna.

    hithannako total due eka hadila thiyenne invoice 5 kin kiyala. api payment eka karaddi e invoice wala total amount eka payment eken adu we wi yannai mata one.

    man kiyana eka wadiya therenne nathuwa athi. me stack eketh dala thiyenne ekamai.

    https://stackoverflow.com/questions/52600381/paid-multiple-invoice-in-one-query

    Please Help Guys:yes:

    ube prashne pahadili naha
    Mekai case eka, Billing system ekaka pending invoices ( credit ) thiyanawane. mata eka section ekaking e credit customer wa thorala payment ekak karanna.

    Menna me wage

    1.PNG



    mama me details ajax ekakin function ekakata pass kara gannawa.

    Mata one payment amount eka total due ekin adu we wi pay wenna.

    hithannako total due eka hadila thiyenne invoice 5 kin kiyala. api payment eka karaddi e invoice wala total amount eka payment eken adu we wi yannai mata one.

    man kiyana eka wadiya therenne nathuwa athi. me stack eketh dala thiyenne ekamai.

    https://stackoverflow.com/questions/52600381/paid-multiple-invoice-in-one-query

    Please Help Guys:yes:
    ------ Post added on Dec 6, 2021 at 8:13 AM
     

    kavindagk

    Well-known member
  • Dec 18, 2008
    985
    1,000
    93
    Colombo
    • Like
    Reactions: Chandi_Bandi

    thedigit2s

    Well-known member
  • Oct 3, 2009
    2,707
    3,073
    113
    37
    @ katubedda
    Mekai case eka, Billing system ekaka pending invoices ( credit ) thiyanawane. mata eka section ekaking e credit customer wa thorala payment ekak karanna.

    Menna me wage

    View attachment 153251

    mama me details ajax ekakin function ekakata pass kara gannawa.

    Mata one payment amount eka total due ekin adu we wi pay wenna.

    hithannako total due eka hadila thiyenne invoice 5 kin kiyala. api payment eka karaddi e invoice wala total amount eka payment eken adu we wi yannai mata one.

    man kiyana eka wadiya therenne nathuwa athi. me stack eketh dala thiyenne ekamai.

    https://stackoverflow.com/questions/52600381/paid-multiple-invoice-in-one-query

    Please Help Guys:yes:


    Mekai case eka, Billing system ekaka pending invoices ( credit ) thiyanawane. mata eka section ekaking e credit customer wa thorala payment ekak karanna.

    Menna me wage

    1.PNG



    mama me details ajax ekakin function ekakata pass kara gannawa.

    Mata one payment amount eka total due ekin adu we wi pay wenna.

    hithannako total due eka hadila thiyenne invoice 5 kin kiyala. api payment eka karaddi e invoice wala total amount eka payment eken adu we wi yannai mata one.

    man kiyana eka wadiya therenne nathuwa athi. me stack eketh dala thiyenne ekamai.

    https://stackoverflow.com/questions/52600381/paid-multiple-invoice-in-one-query

    Please Help Guys:yes:
    ------ Post added on Dec 6, 2021 at 8:13 AM
    total due ඒක calculte කරගත්ත query ඒක ඉන්ව‌ොයිස් ‌date ඒක‌ෙන් sort කරලා පලව‌ෙනි invoice ඒක select කරග‌ෙන , pay amount ඒක‌ෙන් selected invoice ඒක‌ේ value ඒක අඩු කරන්න. selected invoice ඒකේ total amount ඒකම pay උනා නම් ඒක payed කියලා update කරන්න. pay amount ඒක‌ේ remain value ඒකක් තිය‌ෙනවා නම් next invoice ekta change ව‌ෙන්න. මට ඔක කරන්න පුළුවන් කියලා ද‌ෙන්න ත‌ෙර‌ෙන්න‌ෙ නැ මචන්
     
    • Like
    Reactions: Chandi_Bandi