<?php
/**
 * The en file of common module of ZDOO.
 *
 * @copyright   Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Tingting Dai <daitingting@xirangit.com>
 * @package     common 
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
$lang->app = new stdclass();
$lang->app->name = 'CASH';

$lang->cash = new stdclass();
$lang->menu->dividerMenu->cash = ',out,loan,report,';

$lang->menu->cash = new stdclass();
$lang->menu->cash->dashboard = 'Home|dashboard|index|';
$lang->menu->cash->all       = 'All|trade|browse|mode=all';
$lang->menu->cash->in        = 'Income|trade|browse|mode=in';
$lang->menu->cash->out       = 'Expense|trade|browse|mode=out';
$lang->menu->cash->transfer  = 'Transfer|trade|browse|mode=transfer';
$lang->menu->cash->invest    = 'Invest|trade|browse|mode=invest&date=all';
$lang->menu->cash->loan      = 'Loan|trade|browse|mode=loan';
$lang->menu->cash->check     = 'Reconcile|depositor|check|';
$lang->menu->cash->depositor = 'Account|depositor|index|';
$lang->menu->cash->report    = 'Report|trade|report|';
$lang->menu->cash->provider  = 'Supplier|provider|index|';
$lang->menu->cash->setting   = 'Settings|tree|browse|type=in|';

/* Menu of depositor module. */
if(!isset($lang->depositor)) $lang->depositor = new stdclass();

/* Menu of trade module. */
if(!isset($lang->trade)) $lang->trade = new stdclass();
$lang->trade->menu = new stdclass();

/* Menu of report module. */
if(!isset($lang->report)) $lang->report = new stdclass();
$lang->report->menu = new stdclass();
$lang->report->menu->annual  = 'Annual Balance Sheet|trade|report|';
$lang->report->menu->compare = 'Annual Comparison Sheet|trade|compare|';
$lang->report->menu->export  = 'Profit and Loss Statement|trade|export2Excel|mode=depositor';
$lang->report->menu->setting = 'Report Unit|trade|setReportUnit|';

/* Menu of setting module. */
$lang->setting = new stdclass();
$lang->setting->menu = new stdclass();
$lang->setting->menu->income       = 'Income|tree|browse|type=in|';
$lang->setting->menu->expend       = 'Expense|tree|browse|type=out|';
$lang->setting->menu->currency     = 'Currency|setting|lang|module=common&field=currencyList';
$lang->setting->menu->schema       = 'Template|schema|browse|';
$lang->setting->menu->tradePriv    = 'Permission|group|managetradepriv|';
$lang->setting->menu->tradeSetting = 'Settings|trade|tradeSetting|';
$lang->setting->menu->bank         = 'Bank|setting|lang|module=common&field=bankList';

include(dirname(__FILE__) . '/menuOrder.php');
