CORE-POS/IS4C

View on GitHub
fannie/modules/plugins2.0/DeliInventory/DeliInventoryPage2.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

include(dirname(__FILE__).'/../../../config.php');
if (!class_exists('FannieAPI')) {
    include_once(__DIR__ . '/../../../classlib2.0/FannieAPI.php');
}
if (!class_exists('DeliInventoryPage')) {
    include(__DIR__ . '/DeliInventoryPage.php');
}
if (!class_exists('DeliInventoryCat2Model')) {
    include(__DIR__ . '/models/DeliInventoryCat2Model.php');
}

class DeliInventoryPage2 extends DeliInventoryPage
{
    public $page_set = 'Plugin :: DeliInventory';
    protected $window_dressing = false;
    protected $model_class = 'DeliInventoryCatModel';
    protected $STORE = 2;
    protected $table_name = 'deliInventoryCat';

    protected function currentlyLine()
    {
        return '<h3>Currently Denfeld - <a href="DeliInventoryPage.php">Switch</a>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <a href="DIPage2.php">Alternate</a>
            </h3>';
    }

    public function body_content()
    {
        $ret = parent::body_content();
        $ret = str_replace('index.js', 'index3.js', $ret);

        return $ret;
    }
}

FannieDispatch::conditionalExec();