public function outstanding()
    {
        $member = Security::getCurrentUser();
        $list = PaginatedList::create(
            $member->OutstandingInvoices(),
            $this->owner->getRequest()
        );

        $this->owner->customise([
            "Title" => _t('Orders.OutstandingOrders', 'Outstanding Orders'),
            "MenuTitle" => _t('Orders.OutstandingOrders', 'Outstanding Orders'),
            "Content" => $this->owner->renderWith(
                "SilverCommerce\\OrdersAdmin\\Includes\\OrdersList",
                ["List" => $list]
            )
        ]);

        $this->owner->extend("updateOutstandingOrders", $orders);

        return $this
            ->owner
            ->renderWith([
                'AccountController_outstanding',
                AccountController::class . '_outstanding',
                'AccountController',
                AccountController::class,
                'Page'
            ]);
    }
public function outstanding()
    {
        $member = Security::getCurrentUser();
        $list = PaginatedList::create(
            $member->OutstandingInvoices(),
            $this->owner->getRequest()
        );

        $this->owner->customise([
            "Title" => _t('Orders.OutstandingOrders', 'Outstanding Orders'),
            "MenuTitle" => _t('Orders.OutstandingOrders', 'Outstanding Orders'),
            "Content" => $this->owner->renderWith(
                "SilverCommerce\\OrdersAdmin\\Includes\\OrdersList",
                ["List" => $list]
            )
        ]);

        $this->owner->extend("updateOutstandingOrders", $orders);

        return $this
            ->owner
            ->renderWith([
                'AccountController_outstanding',
                AccountController::class . '_outstanding',
                'AccountController',
                AccountController::class,
                'Page'
            ]);
    }
public function outstanding ( ) { $ member = Security :: getCurrentUser ( ) ; $ list = PaginatedList :: create ( $ member -> OutstandingInvoices ( ) , $ this -> owner -> getRequest ( ) ) ; $ this -> owner -> customise ( [ "Title" => _t ( 'Orders.OutstandingOrders' , 'Outstanding Orders' ) , "MenuTitle" => _t ( 'Orders.OutstandingOrders' , 'Outstanding Orders' ) , "Content" => $ this -> owner -> renderWith ( "SilverCommerce\\OrdersAdmin\\Includes\\OrdersList" , [ "List" => $ list ] ) ] ) ; $ this -> owner -> extend ( "updateOutstandingOrders" , $ orders ) ; return $ this -> owner -> renderWith ( [ 'AccountController_outstanding' , AccountController :: class . '_outstanding' , 'AccountController' , AccountController :: class , 'Page' ] ) ; }
Display all outstanding orders for the current user

@return HTMLText
Display all outstanding orders for the current user