Question: How to add and edit payment type text

How to add and edit payment type text

I need to add and edit the text to choose payment type. For example I want to add a payment type called Debit Card and also one named BPAY. I would like to edit the spelling of the existin

AW

Al Williams

Asked
I need to add and edit the text to choose payment type.

For example I want to add a payment type called Debit Card and also one named BPAY.

I would like to edit the spelling of the existing payment types as well possibly add or remove some others.

How can this be done?
  • MS

    Mian Saleem

    Answered
    Hello,

    You will need to modify the `paid_opts` method of `app/libraries/Sma.php`

    Thank you
  • AW

    Al Williams

    Answered
    I can not see the Sma.php file?

    This is the files in the location:

    File path:
    /POS/app/libraries/Bcrypt.php
    /POS/app/libraries/Datatables.php
    /POS/app/libraries/Escpos.php
    /POS/app/libraries/index.html
    /POS/app/libraries/Ion_auth.php
    /POS/app/libraries/Tec.php
    /POS/app/libraries/Tec_barcode.php
    /POS/app/libraries/Tec_mail.php
  • MS

    Mian Saleem

    Answered
    My bad, I thought it's for the SMA. I am sorry as Simple POS don't have that library. You will need to edit the view files directly.

    1. For POS: `themes/default/views/pos/index.php` search for `paying_by` around line no 790
    2. For add/edit payment: `themes/default/views/sales/add_payment.php` and `themes/default/views/sales/edit_payment.php` search for `paying_by` around line no 49 or 50

    Thank you
  • Login to Reply