Question: where to change payment type

where to change payment type

default paying type many type i need to remove some and add own method where to the options found

AS

Askar Shaaz

Asked
default paying type many type i need to remove some and add own method where to the options found
  • MS

    Mian Saleem

    Answered
    Hello,

    You will need to edit `paid_opts` method of `app/libraries/Sma.php` to add/edit/delete the paying by option.

    Thank you
  • RJ

    Roy Joseph

    Answered
    Hi Saleem i tried to change the default cash to credit card since our most of the customer uses CC , but when i did the changes the sales report shows wrong total card sales shows to cash and cash sales shows as card why like that , we need to do anymore changes please or if possible add a small option in the next update in the setting default POS payment method there we can select the cash ,card , or cheque whatever
  • MS

    Mian Saleem

    Answered
    Hello,

    How you have changed the cash to CC?

    You just need to move the CC line above the cash line to make it default.

    Thank you
  • RJ

    Roy Joseph

    Answered
    yes i did like that only but when we check the total day sales its show the credit card total as cash and cash total as credit card is there any changes need in the backend to correct that or when the reports run file do we need any more changes
  • MS

    Mian Saleem

    Answered
    Hello,

    Let me check and I shall update you.

    We are off here and will be back to work on Tuesday.

    Thank you
  • RJ

    Roy Joseph

    Answered
    Hai Saleem ,
    Any update please
  • MS

    Mian Saleem

    Answered
    Hello,

    In the `themes/default/admin/views/pos/add.php` around line no 415

    ```html
    <input type="hidden" name="rpaidby" id="rpaidby" value="cash" style="display: none;"/>
    ```

    You can change the cash to `CC`

    Thank you
  • RJ

    Roy Joseph

    Answered
    So we don't need to do any change below

    You will need to edit paid_opts method of app/libraries/Sma.php to add/edit/delete the paying by option.
    only we need to do the change for the themes/default/admin/views/pos/add.php around line no 415
    please advise
  • MS

    Mian Saleem

    Answered
    Hello,

    It would be good to move the CC option at first.

    Thank you
  • RJ

    Roy Joseph

    Answered
    still the same error is there when we change the cash to cc the daily sales show card payment as cash (attached for your reference)
  • Login to Reply