Question: Add Delivery For Pending Sale

Add Delivery For Pending Sale

I have online sales platforms and sale are generated from there which i input in the stock manger. However these sales are kept pending until the online platforms documentation procedure are

D

Diyar

Asked

I have online sales platforms and sale are generated from there which i input in the stock manger. However these sales are kept pending until the online platforms documentation procedure are completed as many items might get returned. However i need to generate the Delivery order for these sales.

I am able to generate Delivery orders for the sales status is completed but for the sales status is pending i am not able to make the delivery order. Please help me how can i make delivery orders for a sale even the status is pending.

Thanking You

  • MS

    Mian Saleem

    Answered

    Hello,

    You can edit add_delivery method of app/controllers/admin/Sales.php and remove the check around line 366 -369

    if ($sale->sale_status != 'completed') {
        $this->session->set_flashdata('error', lang('status_is_x_completed'));
        $this->sma->md();
    }
    

    Thank you

  • D

    Diyar

    Answered

    Thank You for the support

  • Login to Reply