<?php
class AgedPayablesController extends Controller
{
    public function indexAction()
    {
        $m = new AgedPayables();
        $r = $m->summary();

        $this->view->setLayout($this->roleLayout());
        $this->view->render('AgedPayables/index', [
            'page_title' => 'Aged Payables',
            'vendors'    => $r['vendors'],
            'totals'     => $r['totals'],
        ]);
    }
}
