aneesahmadweb@gmail.com

    Some method usefull for Invoice,

     

    hasinvoice() to check whether invoice exist or not

     

    $order->hasInvoices() // for Invoice
    
    $order->hasShipments() // for shipment

    Usefull Website
    https://hotexamples.com/examples/magento.sales.model/Order/prepareInvoice/php-order-prepareinvoice-method-examples.html

    About Author

    You may also like

    No Comment

    You can post first response comment.

    Leave A Comment

    Please enter your name. Please enter an valid email address. Please enter a message.