Question: How To Add Previous Due

How To Add Previous Due

1: how to add previous due sales and pos sales? 2: there is any option to see due customer list?

A

ALAMIN

Asked
1: how to add previous due sales and pos sales?
2: there is any option to see due customer list?
  • MS

    Mian Saleem

    Answered
    Hello,

    You can add sale with any date selected on the form.

    You can check the customers report and can filter the sales report for any customer.

    Thank you
  • A

    ALAMIN

    Answered
    how to add Total Due Amount sales and post bill print?
  • MS

    Mian Saleem

    Answered
    Hello,

    There is no such option. SMA track payments per sale.

    Thank you
  • A

    ALAMIN

    Answered
    hello sir
    i added this code in pdf.php
    but not working
    <tr>
    <td colspan="<?= $col; ?>"
    style="text-align:right; font-weight:bold;"><?= lang('Previous Due'); ?>
    (<?= $default_currency->code; ?>)
    </td>
    <td style="text-align:right; font-weight:bold;"><?= (isset($sales->total_amount) || isset($sales->paid)) ? $this->sma->formatMoney($sales->total_amount - $sales->paid) : '0.00' ?></td>
    </tr>
  • MS

    Mian Saleem

    Answered
    Hello,

    Did you get and pass the `$sales` to view? You can dd($sales) in controller to view the values.

    Thank you
  • Login to Reply