Question: Error 505 When Try To Add New Invoice

Error 505 When Try To Add New Invoice

Hi, I just bought a SIM and have done the installation successfully. But encountered a problem when I wanted to try to create a new invoice. When saved, an error "500 SERVER ERROR" app

D

Deni

Asked
Hi,

I just bought a SIM and have done the installation successfully. But encountered a problem when I wanted to try to create a new invoice.

When saved, an error "500 SERVER ERROR" appears and the invoice is not generated. Why does this happen? i am also attaching laravel logs from storage/logs/.

Thank You
  • MS

    Mian Saleem

    Answered
    Hello,

    The error is due to taxes. I will fix this in the coming update.

    Thank you
  • D

    Deni

    Answered
    Hi,

    when is the latest update schedule?
    Because I need this app urgently.

    Thank you for your reply.
  • MS

    Mian Saleem

    Answered
    Hello,

    If you need it urgent, please edit `app/Actions/Tec/PrepareOrder.php` and replace the line `$ii->taxes()->sync($item['taxes']);` with

    ```
    $ii->taxes()->sync($item['taxes'] ?? []);
    ```

    Thank you
  • D

    Deni

    Answered
    Hi [@Mian Saleem](/u/saleem) ,

    It's work perfectly.
    Thank you for your support.
  • Login to Reply