Esempio n. 1
0
<div class="row">
    <div class="col-md-3 well">
        <?php 
echo \Yii::$app->controller->menu;
?>
    </div>
    <div class="col-md-9">
    <?php 
$items = [['label' => Yii::t('modules/rbac', 'Settings'), 'content' => $this->render('_form', compact('model'))]];
if (!$model->isNewRecord) {
    $items = array_merge($items, [['label' => Yii::t('modules/rbac', 'Users'), 'url' => ['auth-assignment/role-users', 'name' => $model->name], 'visible' => false], ['label' => Yii::t('modules/rbac', 'Permissions'), 'url' => ['auth-item-child/tree', 'name' => $model->name], 'visible' => false]]);
}
echo \yii\jui\Tabs::widget(['items' => $items, 'options' => ['tag' => 'div'], 'itemOptions' => ['tag' => 'div'], 'headerOptions' => ['class' => 'my-class'], 'clientOptions' => ['collapsible' => false]]);
?>
    </div>
</div>
Esempio n. 2
0
                                $schoolarea = $scholarctr->scholar_school_area;
                                $schoolname = $school->school_name;
                                $schooladdress = $school->school_address;
                                $schoolcontact = $school->school_contactEmail;
                                $schoolnum = $school->school_contactNumber;
                            }
                        }
                    }
                }
            }
        }
    }
}
?>
<div class="compile-index">

    <h1 style="margin-top:100px;"><?php 
echo Html::encode($this->title);
?>
</h1>
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>

   
     <?php 
echo Tabs::widget(['items' => [['label' => 'Scholar Details', 'content' => '<table><tr><td>Full Name: <b>' . $name . '</b><br><br>Address: <b>' . $address . '</b><br><br>Gender: <b>' . $gender . '</b><br><br>Course: <b>' . $course . '</b><br><br>Year Level:<b> ' . $yearlevel . '</b><br><br>Contact Number: <b>' . $contact . '</b><br><br>Cash Card No.: <b>' . $cashcard . '</b></td><td><a href="index.php?r=grade/index" class="btn btn-primary">View Grades</a><br><br><a href="index.php?r=tuition/index" class="btn btn-primary">View Tuition Fees</a><br><br><a href="index.php?r=allowance/index" class="btn btn-primary">View Benefits and Stipend</a></td></tr></table>'], ['label' => 'School Details', 'content' => 'School Year: <b>' . $year . '</b><br>Term: <b>' . $term . '</b><br><br>School Name: <b>' . $schoolname . '</b><br><br>Area: <b>' . $schoolarea . '</b><br><br>Address: <b>' . $schooladdress . '</b><br><br>Email: <b>' . $schoolcontact . '</b><br><br>Contact Number: <b>' . $schoolnum . '</b>']], 'options' => ['tag' => 'div'], 'itemOptions' => ['tag' => 'div'], 'headerOptions' => ['class' => 'my-class'], 'clientOptions' => ['collapsible' => false]]);
?>

</div>
Esempio n. 3
0
<?php

echo \yii\jui\Tabs::widget(['items' => [['label' => Yii::t('modules/post', 'Settings'), 'content' => $this->render('_form', compact('model'))], ['label' => Yii::t('modules/post', 'Items'), 'url' => ['item/index', 'SearchItem[category_id]' => $model->id], 'visible' => false]], 'options' => ['tag' => 'div'], 'itemOptions' => ['tag' => 'div'], 'headerOptions' => ['class' => 'my-class'], 'clientOptions' => ['collapsible' => false]]);
Esempio n. 4
0
                        if ($scholarctr->scholar_user_id == $ctr->id && $scholarctr->scholar_school_id == $school->school_id && $tuition->tuitionfee_scholar_id == $grade->grade_scholar_id && $grade->grade_scholar_id == $scholarctr->scholar_user_id) {
                            $name = $scholarctr->scholar_firstName . " " . $scholarctr->scholar_lastName;
                            $schoolname = $school->school_name;
                            $year = $grade->grade_schoolYear;
                            $term = $grade->grade_Term;
                            $tuitionamount = $tuition->tuitionfee_amount;
                            $tuitionenrol = $tuition->tuitionfee_dateOfEnrollment;
                            $tuitionpay = $tuition->tuitionfee_dateOfPayment;
                            $tuitionfile = $tuition->tuitionfee_registrationForm;
                        }
                    }
                }
            }
        }
    }
}
?>
<div class="tuition-index">

    <h1 style="margin-top:100px;"><?php 
echo Html::encode($this->title);
?>
</h1>
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>
	<?php 
echo Tabs::widget(['items' => [['label' => 'Actual Tuition Fees', 'content' => '<table><tr><td width=50%>Name:<b> ' . $name . '</b><br><br>School:<b> ' . $schoolname . '</b><br><br>School Year:<b> ' . $year . '</b><br><br>Term:<b> ' . $term . '</b><br><br>Total Tuition Fee for Term No. ' . $term . ':<b> ' . $tuitionamount . '</b></td><td>Date of Enrollment:<b> ' . $tuitionenrol . '</b><br><br>Date of Payment:<b> ' . $tuitionpay . '</b><br><br>Uploaded Registration Form (filename):<b> ' . $tuitionfile . '</b></td></tr></table>'], ['label' => 'Past Tuition Fees', 'content' => 'No Past Transactions are recorded.'], ['label' => 'Fees Shouldered by SM', 'content' => 'No Details of this yet.']], 'options' => ['tag' => 'div'], 'itemOptions' => ['tag' => 'div'], 'headerOptions' => ['class' => 'my-class'], 'clientOptions' => ['collapsible' => false]]);
?>
</div>
Esempio n. 5
0
    <?= 
	
	Tabs::widget([
	
    'items' => [
        [
            'label' => 'Current Grades',
            'content' => 'Name:<b> '.$name.'</b><br><br>School Year:<b> '.$year.'</b><br><br>Term:<b> '.$term.'</b><br><br>Grade Value (GPA/GWA):<b> '.$gradeval.'</b><div style="float:right;">Uploaded Grade Sheet (filename):<b> '.$gradefile.'</b></div>'
        ],
        [
            'label' => 'Approved Grades',
            'content' => 'No data to be seen yet',
            
        ],
        [
            'label' => 'Low Grades',
            'content' => 'Grade Value (GPA/GWA): <b>'.$gradeval.'</b><br><br><p style="color:red"><i>NOTICE:If the computed grade is below 85%, Please answer the question below to be directly submitted to SM Foundation</i>.</p><br>Please explain the reason for attaining a GPA/GWA of 2.5 or 85% below. Explain the effect of the deficiency. Will this affect the length of time you graduate?. Explain how will you correct the deficiency.<br><br><input id="deficiency" style="height:350px;width:500px;" class="textbox"/>
			<button class="btn btn-success" style="margin-left:250px;">Submit</button><br><br><h5><i>The explanation will be reviewed by the SM Foundation. <br>We will inform you for any updates regarding the case. Thank You! </i></h5>'
            ,
        ],
    
    ],
    'options' => ['tag' => 'div'],
    'itemOptions' => ['tag' => 'div'],
    'headerOptions' => ['class' => 'my-class'],
    'clientOptions' => ['collapsible' => false],
]); ?>

</div>
Esempio n. 6
0
<?php

/**
 * Created by PhpStorm.
 * User: marat
 * Date: 19.08.15
 * Time: 15:12
 */
use yii\jui\Tabs;
use yii\helpers\Url;
use yii\helpers\Html;
$cat = '';
$to = '';
foreach ($catalog as $key => $marka) {
    $cat .= Html::tag('div', Html::a($marka['prop']['marka'], Url::toRoute('/autocatalogs/' . $key . '/' . $marka['prop']['region'])), ['class' => 'autocatalog_marka']);
    $to .= Html::tag('div', Html::a($marka['prop']['marka'], Url::toRoute('to/' . $key)), ['class' => 'autocatalog_marka']);
}
$items = [['label' => 'VIN', 'content' => $this->render('_search_vin', ['params' => $params]), 'options' => ['class' => 'acatalog-tabs', 'tag' => 'div']], ['label' => 'Автокаталог', 'content' => $cat, 'options' => ['class' => 'acatalog-tabs', 'tag' => 'div']]];
?>
<div>
    <?php 
echo Tabs::widget(['items' => $items]);
?>
</div>
Esempio n. 7
0
 public function getTabWidget($config = [])
 {
     switch ($this->ui) {
         case Widget::UI_BOOTSTRAP:
             return \cza\base\widgets\form\Tabs::widget($config);
             break;
         case Widget::UI_JQUERYUI:
             return \yii\jui\Tabs::widget($config);
             break;
         default:
             return \cza\base\widgets\form\Tabs::widget($config);
             break;
     }
 }
Esempio n. 8
0
            <div class="modal-footer">
                <button type="button" style="display: inline-block" class="btn btn-info" data-dismiss="modal">Закрыть</button>
            </div>
        </div>
    </div>
</div>
<!-- Modal (end) -->
<div class="row">

    <div class="col-md-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                <?php 
echo Html::encode($this->title);
?>
            </div>
            <div class="panel-body">
                <div id="orders">
                    <?php 
echo Tabs::widget(['items' => [['label' => 'Активные заказы', 'content' => $this->render('_new_orders', ['orders' => $new_orders, 'model' => $searchModel])], ['label' => 'Архив', 'content' => $this->render('_old_orders', ['orders' => $old_orders, 'model' => $searchModel])], ['label' => 'Позиции', 'content' => $this->render('_positions', ['orders' => $orders, 'searchModel' => $morders])]]]);
?>
                </div>
            </div>
        </div>
    </div>
<!--    <div class="col-md-3">-->
<?php 
//echo $this->render('_menu')
?>
<!--    </div>-->
</div>
Esempio n. 9
0
                            $term = $scholarctr->scholar_school_area;
                            $amount = $allowance->allowance_amount;
                            $remark = $allowance->allowance_remark;
                            $status = $allowance->allowance_payStatus;
                            $date = $allowance->allowance_paidDate;
                            $ben = $benefit->benefit_amount;
                            $share = $benefit->benefit_scholarShare;
                        }
                    }
                }
            }
        }
    }
}
?>
<div class="allowance-index">

    <h1 style="margin-top:100px;"><?php 
echo Html::encode($this->title);
?>
</h1>
    <?php 
// echo $this->render('_search', ['model' => $searchModel]);
?>

     <?php 
echo Tabs::widget(['items' => [['label' => 'Actual Stipend and Benefits', 'content' => '<table><tr><td width=40% >STIPEND:<br><br><br></td></tr><tr><td>Name:<b> ' . $name . '</b><br><br>School:<b> ' . $schoolname . '</b><br><br>School Year Level:<b> ' . $year . '</b><br><br>School Area:<b> ' . $term . '</b><br><br>Allowance Amount:<b> ' . $amount . '</b></td><td style="text-align:right;">Remark:<b> ' . $remark . '</b><br><br>Allowance Status:<b> ' . $status . '</b><br><br>Allowance Payment Date:<b> ' . $date . '</b><br><br><br>BENEFITS<br><br>Benefit Amount: <b>' . $ben . '</b><br><br>Scholar Share:<b> ' . $share . '</td></tr></table>'], ['label' => 'Past Stipend and Benefits', 'content' => 'No data received.']], 'options' => ['tag' => 'div'], 'itemOptions' => ['tag' => 'div'], 'headerOptions' => ['class' => 'my-class'], 'clientOptions' => ['collapsible' => false]]);
?>

</div>