示例#1
0
文件: view.php 项目: chaimvaid/linet3
<?php

$this->params["breadcrumbs"] = array('Menu' => array('index'), $model->label);
$this->params["menu"] = array(array('label' => 'List Menu', 'url' => array('index')), array('label' => 'Create Menu', 'url' => array('create')), array('label' => 'Update Menu', 'url' => array('update', 'id' => $model->id)), array('label' => 'Manage Menu', 'url' => array('admin')));
app\widgets\MiniForm::begin(array('header' => Yii::t("app", "View Menu") . " " . $model->id));
?>


<?php 
echo kartik\detail\DetailView::widget(array('model' => $model, 'attributes' => array('id', 'label', 'url', 'icon', 'parent')));
?>


<?php 
app\widgets\MiniForm::end();
示例#2
0
文件: view.php 项目: chaimvaid/linet3
<?php

$this->params["menu"] = array(array('label' => Yii::t('app', 'Create Item Template'), 'url' => array('create')), array('label' => Yii::t('app', 'Update Item Template'), 'url' => array('update', 'id' => $model->id)), array('label' => Yii::t('app', 'Delete Item Template'), 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?')), array('label' => Yii::t('app', 'Manage Item Template'), 'url' => array('admin')));
app\widgets\MiniForm::begin(array('header' => Yii::t('app', "View AccTemplate")));
?>

<?php 
echo kartik\detail\DetailView::widget(array('model' => $model, 'attributes' => array('name', array('name' => 'Itemcategory_id', 'value' => $model->Category->name))));
?>


<?php 
$this->widget('bootstrap.widgets.TbButton', array('label' => Yii::t('app', 'Add new'), 'type' => 'success', 'options' => array('onclick' => '$("#addnew").dialog("open"); return false;')));
?>


<?php 
//print_r($model->items);
//Yii::$app->end();
echo app\widgets\GridView::widget(array('id' => 'acc-templateItem-grid', 'dataProvider' => $items->search(), 'filter' => $items, 'columns' => array(array('name' => 'eavFields_id', 'value' => '$data->EavFields->name'), array('class' => 'yii\\grid\\ActionColumn', 'template' => '{remove}', 'buttons' => array('remove' => array('label' => '<i class="glyphicon glyphicon-remove"></i>', 'url' => '$data->id', 'options' => array('onclick' => 'deleteTempItm(this);return false;')))))));
app\widgets\MiniForm::end();
?>


<?php 
echo \yii\jui\Dialog::begin(array('id' => 'addnew', 'options' => array('title' => Yii::t('app', 'Add new field'), 'autoOpen' => false, 'width' => '600px')));
//bootstrap.widgets.TbModal
$form = kartik\form\ActiveForm::begin(array('id' => 'newField', 'options' => array('class' => 'well'), 'action' => array('SaveSub', 'id' => $model->id)));
?>

<div class="modal-body">
示例#3
0
文件: view.php 项目: chaimvaid/linet3
<?php

$this->params["breadcrumbs"] = array('Currates' => array('index'), $model->id);
$this->params["menu"] = array(array('label' => 'List Currates', 'url' => array('index')), array('label' => 'Create Currates', 'url' => array('create')), array('label' => 'Update Currates', 'url' => array('update', 'id' => $model->id)), array('label' => 'Delete Currates', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?')), array('label' => 'Manage Currates', 'url' => array('admin')));
?>

<h1>View Currates #<?php 
echo $model->id;
?>
</h1>
<?php 
app\widgets\MiniForm::begin(array('header' => "Create Accounts"));
echo kartik\detail\DetailView::widget(array('model' => $model, 'attributes' => array('currency_id', 'date', 'nisvalue')));
app\widgets\MiniForm::end();
示例#4
0
文件: view.php 项目: chaimvaid/linet3
<?php

$this->params["breadcrumbs"] = array(Yii::t("app", 'Item Vat Categories') => array('index'), $model->name);
$this->params["menu"] = array(array('label' => Yii::t("app", 'Create Item Tax Category'), 'url' => array('create')), array('label' => Yii::t("app", 'Update Item Tax Category'), 'url' => array('update', 'id' => $model->id)), array('label' => Yii::t("app", 'Delete Item Tax Category'), 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?')), array('label' => Yii::t("app", 'Manage Item Tax Categories'), 'url' => array('admin')));
app\widgets\MiniForm::begin(array('header' => Yii::t("app", "View Item Tax Category #") . " " . $model->id));
?>



<?php 
echo kartik\detail\DetailView::widget(array('model' => $model, 'attributes' => array('id', 'name')));
app\widgets\MiniForm::end();
示例#5
0
文件: view.php 项目: chaimvaid/linet3
<?php

$this->params["breadcrumbs"] = array();
$this->params["menu"] = array();
?>

<h1>View Acctype #<?php 
echo $model->id;
?>
</h1>

<?php 
echo kartik\detail\DetailView::widget(array('model' => $model, 'attributes' => array('id', 'name', 'desc', 'openformat')));
示例#6
0
文件: view.php 项目: chaimvaid/linet3
<?php

$this->params["breadcrumbs"] = array('Users' => array('index'), $model->id);
$this->params["menu"] = array(array('label' => Yii::t("app", "Create User"), 'url' => array('create')), array('label' => Yii::t("app", "Update User"), 'url' => array('update', 'id' => $model->id)), array('label' => Yii::t("app", "Manage Users"), 'url' => array('admin')));
app\widgets\MiniForm::begin(array('header' => Yii::t("app", "View User ") . " " . $model->username));
?>
<div class="row">
    <div class="col-md-4">

        <?php 
echo kartik\detail\DetailView::widget(array('model' => $model, 'attributes' => array('id', 'username', 'fname', 'lname', 'lastlogin', 'hash', 'email')));
?>
    </div>
    <div class="col-md-4">
        <table class="table">
            <thead>
                <tr>

                    <td><?php 
echo Yii::t("app", "Tax Catagory");
?>
</td>
                    <td><?php 
echo Yii::t("app", "Account Name");
?>
</td>


                </tr>
            </thead>
            <tfoot>
示例#7
0
文件: view.php 项目: chaimvaid/linet3
<?php

$this->params["breadcrumbs"] = array(Yii::t('app', 'Account History') => array('index'), $model->id);
$this->params["menu"] = array(array('label' => Yii::t('app', 'List Account History'), 'url' => array('index')), array('label' => Yii::t('app', 'Create Account History'), 'url' => array('create')), array('label' => Yii::t('app', 'Update Account History'), 'url' => array('update', 'id' => $model->id)), array('label' => Yii::t('app', 'Manage Account History'), 'url' => array('admin')));
app\widgets\MiniForm::begin(array('header' => Yii::t('app', "View Account History") . " " . $model->id));
?>

<?php 
echo kartik\detail\DetailView::widget(array('model' => $model, 'attributes' => array('id', 'dt', array('attribute' => 'details'))));
app\widgets\MiniForm::end();
示例#8
0
文件: view.php 项目: chaimvaid/linet3
<?php

$this->params["breadcrumbs"] = array('Doctypes' => array('index'), $model->name);
$this->params["menu"] = array(array('label' => Yii::t("app", 'Create Document Type'), 'url' => array('create')), array('label' => Yii::t("app", 'Update Document Type'), 'url' => array('update', 'id' => $model->id)), array('label' => Yii::t("app", "Manage Document Type"), 'url' => array('admin')));
app\widgets\MiniForm::begin(array('header' => Yii::t("app", "View Document Type") . " " . $model->id));
?>

<?php 
echo kartik\detail\DetailView::widget(array('model' => $model, 'attributes' => array('id', 'name', 'openformat', 'isdoc', 'isrecipet', 'iscontract', 'stockAction', 'account_type', 'docStatus_id', 'last_docnum')));
app\widgets\MiniForm::end();