<?php


/**
 * Покупки - опаковка
 *
 *
 * @category  bgerp
 * @package   purchase
 *
 * @author    Stefan Stefanov <stefan.bg@gmail.com>
 * @copyright 2006 - 2014 Experta OOD
 * @license   GPL 3
 *
 * @since     v 0.1
 */
class purchase_Wrapper extends plg_ProtoWrapper
{
    /**
     * Описание на табовете
     */
    public function description()
    {
        $this->TAB('purchase_Purchases', 'Покупки', 'ceo,purchase,acc,purchaseAll');
        $this->TAB('purchase_Invoices', 'Фактури', 'ceo,purchase,acc,invoiceAll');
        $this->TAB('purchase_Quotations', 'Оферти', 'ceo,purchase');
        $this->TAB('purchase_Services', 'Протоколи->Приемателни', 'ceo,purchase');
        $this->TAB('purchase_SparePartsProtocols', 'Протоколи->Резервни части', 'ceo,purchase,acc');
        $this->TAB('purchase_Vops', 'Протоколи->ВОП', 'ceo,purchase');
        $this->TAB('purchase_ClosedDeals', 'Приключвания', 'ceo,purchase');
        $this->TAB('purchase_PurchasesData', 'Дебъг->Покупки', 'admin,ceo,debug');

        $this->title = 'Покупки « Доставки';
        Mode::set('menuPage', 'Доставки:Покупки');
    }
}
