Page 1 of 1

Main Cashbox only update for 'Cash' payment type

Posted: Mon Apr 15, 2019 2:24 pm
by Geeboy
Could you let me know where I could change the code so that the main cashbox is only added to if a reservation is paid by 'Cash'.
I currently have two payment types 'Cash' and 'Card'
Thanks in advance,
Steve

Re: Main Cashbox only update for 'Cash' payment type

Posted: Thu Nov 07, 2019 3:47 pm
by marco
Hello Steve,
the payment is inserted in a cashbox (if a user different from administrator has a corresponding privilege) with function "esegui_modifiche_prenotazione" in includes/funzioni_mod_prenota.php file. It is done almost at the end of the function, with "insert into $tablecosti (idcosti,..." query.

Regards,
Marco