$col2->close();
$col2 = $ui->col()->width(12)->open();
// $ui->callout()
// 		->uiType("info")
// 		->desc('Enlc : Photocopies of money receipts. Disbursement sheet, Statement of expenditure, Distribution list of Honoraria to faculty and supporting staff of ISM.
// 				')
// 	->show();
$col2->close();
$inputRow2->close();
$tabRow1 = $ui->row()->open();
$innercol2 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->tab("t1", "Details of Receipt / Payment", true)->tab("t2", "Credits & Disbursement")->tab("t3", "Net Amount Paylable")->tab("t4", "Calculation Sheet For Course Consultancy/Testing Disbursement")->open();
$t1 = $ui->tabPane()->id("t1")->active()->open();
/*****************************TAB 1 OPEN*************************************************/
$A_box = $ui->box()->solid()->uiType('primary')->open();
$table_A = $ui->table()->id('table_a')->bordered()->open();
?>
					<tr>
						<td width=70%>Total Amount received</td>
						<td><?php 
$ui->input()->type('text')->name('a_total_amount')->id('a_total_amount')->value($disbursement->a_total_amt)->width(12)->show();
?>
</td>
					</tr>
					<tr>
							<td width=70%>Services Tax (Including CESS) Cess</td>
							<td><?php 
$ui->input()->type('text')->name('a_services_tax')->id('a_services_tax')->value($disbursement->a_services_tax)->width(12)->required()->show();
?>
							</td>
						</tr>
Beispiel #2
0
<?php

echo "<h4>" . $CS_session['course_name'] . " (" . $CS_session['branch'] . ") for Session " . $CS_session['session'] . "</h4>";
$ui = new UI();
$outer_row = $ui->row()->id('or')->open();
$column1 = $ui->col()->width(12)->t_width(6)->m_width(12)->open();
$formbox = $ui->box()->id('box_form')->open();
$form = $ui->form()->id("add_course_form")->action("course_structure/add/AddCoreSubjects")->multipart()->open();
if ($CS_session['count_core'] > 0) {
    echo "Enter subjects for semester " . $CS_session['sem'];
    $table = $ui->table()->responsive()->hover()->bordered()->open();
    echo '
								  <tr>
									<th>Order</th>
									<th>Subject ID</th>
									<th>Subject Name</th>
									<th>Lecture</th>
									<th>Tutorial</th>
									<th>Practical</th>
									<th>Credit Hours</th>
									<th>Type</th>
								  </tr>';
    for ($counter = 1; $counter <= $CS_session['count_core']; $counter++) {
        echo '
								  <tr> 
									<td>';
        $array_option = array();
        for ($i = 1; $i <= $CS_session['count_core'] + $CS_session['count_elective']; $i++) {
            array_push($array_option, $ui->option()->value($i)->text($i));
            //echo '<option value="'.$i.'">'.$i.'</option>';
        }
Beispiel #3
0
<?php

$ui = new UI();
$myTable = $ui->table()->id('usersTable')->bordered()->hover()->striped()->open();
?>
     <thead>
	<tr>
	<th>Total Users</th><td><?php 
echo count($users);
?>
</td>
	</tr>
    </thead>
    <tbody>
	<?php 
if (count($users)) {
    ?>
	<tr>
		<th>Id</th>
		<th>Name</th>
		<th>Department</th>
		<th>Operation</th>
	</tr>
	<?php 
    foreach ($users as $user) {
        echo '<td>' . $user->id . '</td>';
        echo '<td>' . $user->salutation . '. ' . ucwords(trim($user->first_name)) . ($user->middle_name != '' ? ' ' . ucwords(trim($user->middle_name)) : '') . ($user->last_name != '' ? ' ' . ucwords(trim($user->last_name)) : '') . '</td>';
        echo '<td>' . $user->dept_name . '</td>';
        echo '<td><input type="button" value="Deny" name="deny" onclick="delete_auth(' . $user->id . ');"/></td>';
    }
}
  ->name('select_form')
  ->options(array($ui->option()->value('0')->text('Change Profile Picture'),
                  $ui->option()->value('1')->text('Edit Basic Details'),
                  $ui->option()->value('2')->text('Edit Education Details')))
  ->width(6)
  ->show();*/
$student_admn_no->close();
$student_details_row_2 = $ui->row()->open();
$student_details_2_1 = $ui->col()->width(6)->open();
$student_details_2_1->close();
$ui->button()->submit(true)->value('Submit')->uiType('primary')->id('submit_button_id')->width(2)->show();
$student_details_row_2->close();
$select_details_to_edit_box->close();
$form->close();
$rejected_students_list_box = $ui->box()->uiType('primary')->id('UsersToValidateBox')->solid()->title('List of Rejected Students')->open();
$table = $ui->table()->hover()->id('UsersToValidate')->bordered()->striped()->responsive()->paginated()->searchable()->sortable()->condensed()->open();
?>
				    <thead>
			            <tr>
			                <th>User ID</th>
			                <th>Details to Validate</th>
			            </tr>
					</thead>

			        <tfoot>
			            <tr>
			                <th>User ID</th>
			                <th>Details to Validate</th>
			            </tr>
			        </tfoot>
<?php 
Beispiel #5
0
<?php

$ui = new UI();
$head = $ui->row()->open();
$h_col = $ui->col()->width(12)->open();
$box = $ui->box()->title('Validation Requests')->uiType('primary')->open();
if (!$emp_validation_details) {
    $this->callout()->title("No Pending Requests")->desc("There are no pending requests.")->show();
} else {
    $table = $ui->table()->bordered()->condensed()->responsive()->open();
    echo "<thead><tr align='center'>\n\t\t\t\t\t<td rowspan='2' style='vertical-align:middle' ><b>Employee Id</b></td>\n\t\t\t\t\t<td rowspan='2' style='vertical-align:middle' ><b>Employee Name</b></td>\n\t\t\t\t\t<td colspan='6' style='vertical-align:middle' ><b>Status</b></td>\n\t\t\t\t</tr>\n\t\t\t\t<tr align='center'>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Profile Pic</b></td>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Basic Details</b></td>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Previous Employment Details</b></td>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Dependent Family Member Details</b></td>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Educational Qualifications</b></td>\n\t\t\t\t\t<td style='vertical-align:middle'><b>Last 5 Year Stay Details</b></td>\n\t\t\t\t</tr></thead><tbody>";
    $i = 0;
    foreach ($emp_validation_details as $v_row) {
        $i++;
        $user = $this->user_details_model->getUserById($v_row->id);
        $emp_name = ucwords($user->salutation . '. ' . $user->first_name . ($user->middle_name != '' ? ' ' . $user->middle_name : '') . ($user->last_name != '' ? ' ' . $user->last_name : ''));
        echo "<tr>\n\t\t\t\t\t<td align=\"center\" >" . $v_row->id . "</td>\n\t\t\t\t\t<td align=\"center\">" . $emp_name . "</td>";
        //profile picture step
        $label = $ui->label()->text(ucwords($v_row->profile_pic_status));
        if ($v_row->profile_pic_status == 'pending') {
            echo "<td align=\"center\"  >";
            if ($this->authorization->is_auth('est_ar')) {
                echo "<a href='" . site_url("employee/validation/validate_step/" . $v_row->id . "/0") . "'>";
            }
            $label->uiType('info')->show();
            if ($this->authorization->is_auth('est_ar')) {
                echo '</a>';
            }
            echo '</td>';
        } else {
            if ($v_row->profile_pic_status == 'rejected') {
Beispiel #6
0
<?php

$ui = new UI();
$row = $ui->row()->open();
$column1 = $ui->col()->open();
$table = $ui->table()->bordered()->hover()->responsive()->open();
$i = 1;
foreach ($individuals as $row1) {
    ?>
<tr>
			
				<td><?php 
    $ui->input()->id("individual_name" . $i)->name('individual_name' . $i)->required()->placeholder($row1->user_id)->value($row1->user_id)->show();
    ?>
</td>
			</tr><?php 
    $i++;
}
$table->close();
$column1->close();
$row->close();
Beispiel #7
0
            $error_str .= $str . '<br>';
        }
        $ui->alert()->uiType('danger')->desc($error_str)->show();
    }
}
$ref_self = $_SERVER['PHP_SELF'];
$row = $ui->row()->open();
$column1 = $ui->col()->width(3)->open();
$column1->close();
$column = $ui->col()->width(6)->open();
$box = $ui->box()->title('Select Leave Type')->solid()->uiType('primary')->open();
$ui->select()->id('leave_type_cancel')->label('Type Of Leave')->options(array($ui->option()->value('$')->text('Select'), $ui->option()->value('Casual Leave')->text('Casual Leave'), $ui->option()->value('Restricted Leave')->text('Restricted Leave')))->show();
$box->close();
$column->close();
$row->close();
$row1 = $ui->row()->id('leave_table_container')->open();
$column3 = $ui->col()->width(1)->open();
$column3->close();
$column4 = $ui->col()->width(10)->open();
$box = $ui->box()->title('Cancellable Leave')->solid()->uiType('primary')->open();
$form = $ui->form()->action('leave/leave_cancel')->open();
$table_cancel = $ui->table()->id('leave_to_cancel_table')->hover()->responsive()->sortable()->searchable()->paginated()->bordered()->open();
$table_cancel->close();
$ui->button()->type('submit')->value('Cancel')->submit(true)->name('cancel')->uiType('primary')->show();
$form->close();
$box->close();
$column4->close();
$row1->close();
?>

Beispiel #8
0
<?php

$ui = new UI();
$outer_row = $ui->row()->id('or')->open();
$column1 = $ui->col()->width(12)->t_width(6)->m_width(12)->open();
$box_basic_details = $ui->box()->id('box_form')->title("Basic Information")->open();
$table = $ui->table()->responsive()->hover()->bordered()->open();
//var_dump( $auth_type);
foreach ($company_basic_info as $row) {
    echo '
					<thead>
						<tr>
							<th>Company Name</th>
							<td>' . $row->company_name . '</td>
						</tr>';
    if (!in_array('stu', $auth_type)) {
        echo '
						<tr>
							<th>Contact Person</th>
							<td>' . $row->name . '</td>
						</tr>
						<tr>
							<th>Designation</th>
							<td>' . $row->designation . '</td>
						</tr>
						<tr>
							<th>Email ID</th>
							<td>' . $row->user_id . '</td>
						</tr>
						<tr>
							<th>Address</th>
  ->name('select_form')
  ->options(array($ui->option()->value('0')->text('Change Profile Picture'),
                  $ui->option()->value('1')->text('Edit Basic Details'),
                  $ui->option()->value('2')->text('Edit Education Details')))
  ->width(6)
  ->show();*/
$student_admn_no->close();
$student_details_row_2 = $ui->row()->open();
$student_details_2_1 = $ui->col()->width(6)->open();
$student_details_2_1->close();
$ui->button()->submit(true)->value('Submit')->uiType('primary')->id('submit_button_id')->width(2)->show();
$student_details_row_2->close();
$select_details_to_edit_box->close();
$form->close();
$rejected_students_list_box = $ui->box()->uiType('primary')->id('rejectedUsersBox')->solid()->title('List of Rejected Students')->open();
$table = $ui->table()->hover()->id('rejectedUsers')->bordered()->striped()->responsive()->paginated()->searchable()->sortable()->condensed()->open();
?>
				    <thead>
			            <tr>
			                <th>User ID</th>
			                <th>Reason For Rejection</th>
			            </tr>
					</thead>

			        <tfoot>
			            <tr>
			                <th>User ID</th>
			                <th>Reason For Rejection</th>
			            </tr>
			        </tfoot>
<?php 
$col1->close();
$col2 = $ui->col()->width(6)->open();
$ui->input()->type('text')->label('CONS')->name('consultancy_no')->id('consultancy_no')->width(12)->value($consultancy_no)->disabled()->show();
$col2->close();
$ui->callout()->uiType("info")->desc('Enlc : Photocopies of money receipts. 
                        Disbursement sheet, 
                        Statement of expenditure, 
                        Distribution list of Honoraria 
                        to faculty and supporting staff of ISM.')->show();
$inputRow2->close();
$form = $ui->form()->action('consultant/consultant_disbursement_sheet/reconfirmation/' . $consultancy_no . '/' . $sr_no)->extras('enctype="multipart/form-data"')->open();
$tabRow1 = $ui->row()->open();
$tabBox1 = $ui->tabBox()->tab("t1", "Details of Receipt", true)->tab("t2", "Credits and Disbursement")->tab("t3", "Net Amount")->tab("t4", "Consultants")->tab("t5", "Supporting Staffs")->open();
$t1 = $ui->tabPane()->id("t1")->active()->open();
$A_box = $ui->box()->title('Details of Receipt/Payment:')->solid()->uiType('primary')->open();
$table_A = $ui->table()->id('table_a')->open();
?>
                    <tr>
                    <td width=70%>Total Charges</td>
                    <td><?php 
$ui->input()->type('text')->name('a_total_charges')->id('a_total_charges')->value($disbursement->a_total_charge)->width(12)->required()->show();
?>
</td>
                    </tr>
                    <tr>
                    <td width=70%>Services Tax + Educational Cess</td>
                    <td><?php 
$ui->input()->type('text')->name('a_services_tax')->id('a_services_tax')->value($disbursement->a_services_tax)->width(12)->required()->show();
?>
</td>
                    </tr>
Beispiel #11
0
<div id="print">
<?php 
$ui = new UI();
$tabsRow = $ui->row()->open();
$tabBox = $ui->tabBox()->icon($ui->icon("th"))->title("Duty Chart")->tab("today", $ui->icon("bars") . "Today Chart", true)->tab("tomorrow", $ui->icon("bars") . "Tomorrow Chart")->tab("complete", $ui->icon("bars") . "Complete Chart")->open();
$tab1 = $ui->tabPane()->id("today")->active()->open();
if (count($details_of_guards_at_a_date_today) == 0) {
    $box = $ui->callout()->title("Empty List")->desc("There is no duty for any guard today.")->uiType("info")->show();
} else {
    $table = $ui->table()->id('dateDutyChartTable')->responsive()->hover()->bordered()->striped()->sortable()->paginated()->searchable()->open();
    ?>
								<thead>
									<tr>
										<th class="print-no-display" width="30px">Photo</th>
										<th><center>Guard Name</center></th>
										<th><center>Post Name</center></th>
										<th><center>Shift</center></th>
										<th><center>Replace</center></th>
										<th><center>Remove</center></th>
									</tr>
								</thead>

								<tfoot>
									<tr>
										<th class="print-no-display" width="30px">Photo</th>
										<th><center>Guard Name</center></th>
										<th><center>Post Name</center></th>
										<th><center>Shift</center></th>
										<th><center>Replace</center></th>
										<th><center>Remove</center></th>
									</tr>
Beispiel #12
0
$selectqueryRow->close();
echo '</div>';
$headingBox->close();
?>

<?php 
$headingBox = $ui->box()->id('postDutyChartBox')->uiType('info')->title('Details of Guards at post <div style="float:right; margin-left:10px;" id="post-div"></div>')->solid()->open();
$tabsRow = $ui->row()->open();
$tabsCol = $ui->col()->open();
$tabBox = $ui->tabBox()->icon($ui->icon("th"))->title("Duty Chart")->tab("regularp", $ui->icon("bars") . "Regular List", true)->tab("overtimep", $ui->icon("bars") . "Overtime List")->open();
$tab1 = $ui->tabPane()->id("regularp")->active()->open();
echo '<div id="postmessage-div" style="display:none;">';
$box = $ui->callout()->title("Empty List")->desc("List is empty for the given post.")->uiType("info")->show();
echo '</div>';
$tableRow = $ui->row()->id('postDutyChartTableRow')->open();
$table = $ui->table()->id('postDutyChartTable')->responsive()->hover()->bordered()->striped()->sortable()->paginated()->searchable()->open();
?>
								<thead>
									<tr>
										<th class="print-no-display" width="30px">Photo</th>
										<th><center>Guard Name</center></th>
										<th><center>Shift</center></th>
										<th><center>Duty Date</center></th>
									</tr>
								</thead>

								<tfoot>
									<tr>
										<th class="print-no-display" width="30px">Photo</th>
										<th><center>Guard Name</center></th>
										<th><center>Shift</center></th>
Beispiel #13
0
$col1 = $ui->col()->width(5)->open();
$ui->datePicker()->extras("required")->dateformat("yyyy-mm-dd")->id("date_from")->name("date_from")->label("Allot Date From ")->placeholder("Select Date")->show();
$col1->close();
$col1 = $ui->col()->width(5)->open();
$ui->datePicker()->extras("required")->dateformat("yyyy-mm-dd")->id("date_to")->name("date_to")->label("Allot Date To ")->placeholder("Select Date")->show();
$col1->close();
$col1 = $ui->col()->width(2)->extras("style='padding-top:24px;'")->open();
$ui->button()->value('Check Slot')->uiType('primary')->extras("valign='middle' style = 'vertical-align:middle;'")->id("btn_checkslot")->name('button')->show();
$col1->close();
$row_upper->close();
$ui->button()->value('Allot Date')->width(3)->uiType('primary')->submit()->name('submit')->show();
echo "<br><br>";
$form->close();
$box_makeschedule->close();
$box_alreadychedule = $ui->box()->id('box_makeschedule_bottom')->title("Companies In the above slot")->open();
$table = $ui->table()->id("table_makeschedule_bottom")->hover()->bordered()->searchable()->sortable()->paginated(true)->open();
echo '
						<thead>
							<tr>
								<th>S.No</th>
								<th>Company Name</th>
								<th>Date</th>
								<th>Status</th>
							</tr>
						</thead>
						';
$table->close();
$box_alreadychedule->close();
$tab1->close();
$tab2 = $ui->tabPane()->id("tabPaneschedule")->open();
$box_schedule = $ui->box()->id('box_schedule')->title("Existing Schedule")->open();
    $ui->input()->label('Contact No.')->name('contact3')->id('contact3')->show();
}
$correspondence_address_details_box->close();
$corr_address_col_2->close();
$address_details_row_3->close();
?>
</div><?php 
$student_address_details_box->close();
$student_details_row->close();
$student_educational_details_row = $ui->row()->open();
$student_educational_details_box = $ui->box()->uiType('primary')->solid()->title('Educational Details')->open();
$ui->input()->type('hidden')->value($stu_basic_details->type)->id('student_type')->show();
$educational_details_row = $ui->row()->open();
$educational_details_row_1 = $ui->row()->open();
if ($stu_education_details != FALSE) {
    $table = $ui->table()->responsive()->id('tableid')->hover()->width(12)->bordered()->open();
    echo '
                            <tr>
                                <th>S no.</th>
                                <th>Examination</th>
                                <th>Branch/Specialization</th>
                                <th>School/College/University/Institute</th>
                                <th>Year</th>
                                <th>Percentage/Grade</th>
                                <th>Class/Division</th>
                            </tr>';
    $i = 1;
    foreach ($stu_education_details as $row) {
        $year_array = array();
        $year = 1926;
        $present_year = date('Y');
<?php

$ui = new UI();
if ($error != "") {
    $ui->alert()->uiType('danger')->title('ERROR')->desc($error)->show();
}
if ($emp_prev_exp_details != FALSE) {
    $upRow = $ui->row()->open();
    $col = $ui->col()->open();
    $box = $ui->box()->title('Previous Employment Details')->uiType('primary')->open();
    $table = $ui->table()->id('tbl2')->responsive()->bordered()->paginated()->striped()->open();
    echo '<thead valign="middle" ><tr align="center">
                        <th rowspan="2" >S no.</th>
                        <th rowspan="2">Full address of Employer</th>
                        <th rowspan="2">Position held</th>
                        <th colspan="2">Organization</th>
                        <th rowspan="2">Pay Scale</th>
                        <th rowspan="2">Remarks</th>
                    </tr>
                    <tr align="center">
                        <th>From</th>
                        <th>To</th>
                    </tr></thead><tbody>';
    $i = 1;
    foreach ($emp_prev_exp_details as $row) {
        if ($row->remarks == "") {
            $remarks = 'NA';
        } else {
            $remarks = $row->remarks;
        }
        echo '<tr name="row[]" align="center">
Beispiel #16
0
<?php

$ui = new UI();
$tabsRow = $ui->row()->open();
$tabBox = $ui->tabBox()->icon($ui->icon("th"))->title("Details of Posts")->tab("current", $ui->icon("bars") . "Current List", true)->tab("archived", $ui->icon("bars") . "Archived List")->open();
$tab1 = $ui->tabPane()->id("current")->active()->open();
if (count($details_of_posts) == 0) {
    $box = $ui->callout()->title("Empty List")->desc("There is no post in the current list.")->uiType("info")->show();
} else {
    $table = $ui->table()->id('currentTable')->responsive()->hover()->bordered()->striped()->sortable()->searchable()->paginated()->open();
    ?>
						<thead>
							<tr>
								<th><center>Post Name</center></th>
								<th><center>IP Address of Post</center></th>
								<th><center>Shift A</center></th>
								<th><center>Shift B</center></th>
								<th><center>Shift C</center></th>
								<th><center>Total</center></th>
								<th><center>Edit</center></th>
								<th><center>Remove</center></th>
							</tr>
						</thead>
						<?php 
    foreach ($details_of_posts as $key => $post) {
        $total = $post->number_a + $post->number_b + $post->number_c;
        echo '<tr>
										<td align="center">' . $post->postname . '</td>
										<td align="center"><a href = "http://' . $post->ipaddress . '" target= "_blank" title="' . $post->postname . '">' . $post->ipaddress . '</a></td>
										<td align="center">' . $post->number_a . '</td>
										<td align="center">' . $post->number_b . '</td>
<?php

$ui = new UI();
$errors = validation_errors();
if ($errors != '') {
    $this->notification->drawNotification('Validation Errors', validation_errors(), 'error');
}
$row = $ui->row()->open();
$column1 = $ui->col()->width(3)->open();
$column1->close();
$column2 = $ui->col()->width(6)->open();
$table = $ui->table()->width(6)->open();
?>
		<thead>
			<th>Time Of Acion</th>
			<th>Remark</th>
			<th>Type of Action</th>
		</thead>
	<?php 
foreach ($action as $key => $action) {
    if ($action->status >= 98) {
        ?>
				<tr>
					<td>
						<?php 
        echo $action->timestamp;
        ?>
					</td>
					<td>
						<?php 
        echo $action->remark;
Beispiel #18
0
function view_stay_details($emp_last5yrstay_details, $pending_emp_last5yrstay_details = false, $status = false)
{
    $ui = new UI();
    echo '<h3 class="page-header" align="center">Last 5 Year Stay Details</h3>';
    $table = $ui->table()->id('tbl5')->responsive()->bordered()->striped()->open();
    echo '<thead><tr align="center">
				<td colspan=2 style="vertical-align:middle" ><b>Duration</b></td>
				<td rowspan=2 style="vertical-align:middle" ><b>Residential Address</b></td>
				<td rowspan=2 style="vertical-align:middle" ><b>Name of District Headquarters</b></td>
        	</tr>
        	<tr align="center">
            	<td style="vertical-align:middle"><b>From</b></td>
            	<td style="vertical-align:middle"><b>To</b></td>
        	</tr></thead><tbody>';
    foreach ($emp_last5yrstay_details as $row) {
        echo '<tr name=row[] align="center">
			    	<td>' . date('d M Y', strtotime($row->from)) . '</td>
			    	<td>' . date('d M Y', strtotime($row->to)) . '</td>
			    	<td>' . $row->res_addr . '</td>
			    	<td>' . ucwords($row->dist_hq_name) . '</td>
			    </tr>';
    }
    echo '</tbody>';
    $table->close();
    if ($pending_emp_last5yrstay_details) {
        $uiType = $status == 'pending' ? 'info' : 'danger';
        echo '<div id = "pending_emp_last5yrstay_details"><h3 class="page-header" align="center">Last 5 Year Stay Details ' . $ui->label()->uiType($uiType)->text(ucwords($status)) . '</h3>';
        $table = $ui->table()->responsive()->bordered()->striped()->open();
        echo '<thead><tr align="center">
						<td colspan=2 style="vertical-align:middle" ><b>Duration</b></td>
						<td rowspan=2 style="vertical-align:middle" ><b>Residential Address</b></td>
						<td rowspan=2 style="vertical-align:middle" ><b>Name of District Headquarters</b></td>
		        	</tr>
		        	<tr align="center">
		            	<td style="vertical-align:middle"><b>From</b></td>
		            	<td style="vertical-align:middle"><b>To</b></td>
		        	</tr></thead><tbody>';
        foreach ($pending_emp_last5yrstay_details as $row) {
            echo '<tr name=row[] align="center">
				    	<td>' . date('d M Y', strtotime($row->from)) . '</td>
				    	<td>' . date('d M Y', strtotime($row->to)) . '</td>
				    	<td>' . $row->res_addr . '</td>
				    	<td>' . ucwords($row->dist_hq_name) . '</td>
				    </tr>';
        }
        echo '</tbody>';
        $table->close();
        echo '</div>';
    }
}
Beispiel #19
0
                $boxesRow->close();
                $headingBox->close();
            } else {
                if (isset($details_of_guards_at_a_post_in_a_range)) {
                    $postname = '';
                    foreach ($details_of_guards_at_a_post_in_a_range as $row) {
                        $postname = $row->postname;
                        break;
                    }
                    $ui = new UI();
                    $headingBox = $ui->box()->uiType('info')->title('Details of Guards from ' . date('d M Y', strtotime($fromdatep) + 19800) . ' to ' . date('d M Y', strtotime($todatep) + 19800) . ' at ' . $postname . ' Post')->solid()->open();
                    $boxesRow = $ui->row()->open();
                    $aboxCol = $ui->col()->width(1)->t_width(2)->m_width(2)->open();
                    $aboxCol->close();
                    $bboxCol = $ui->col()->width(10)->t_width(8)->m_width(8)->open();
                    $table = $ui->table()->responsive()->hover()->bordered()->striped()->sortable()->paginated()->searchable()->open();
                    echo '<tbody>
										<thead>
											<tr>
												<th><center>Guard Name</center></th>
												<th class="print-no-display">Photo</th>
												<th><center>Duration</center></th>
												<th><center>Duty Date</center></th>
											</tr>
										</thead>';
                    foreach ($details_of_guards_at_a_post_in_a_range as $row) {
                        if (ceil($row->from_time) == floor($row->from_time)) {
                            $from_time = floor($row->from_time) . ':00';
                        } else {
                            $from_time = floor($row->from_time) . ':30';
                        }
* Date: 19 june 2015
*/
$ui = new UI();
$errors = validation_errors();
if ($errors != '') {
    $this->notification->drawNotification('Validation Errors', validation_errors(), 'error');
}
$col1 = $ui->col()->width(12)->open();
/*$ui->input()
                 ->label('No. of person<span style= "color:red;"> *</span>')
                   ->type('text')
                   ->name('no_of_persons')
                   ->id("no_of_persons")

                   ->show();*/
$table = $ui->table()->hover()->bordered()->width(12)->open();
?>
<thead>
                  <th>Department</th>
                  <th>Employee's Name</th>
                  <th>Employee No.</th>
                  <th>Designation</th>
                  <th>Position</th>
                  <th>Tentative Share</th>
                  <th></th>

                </thead>
               
                <?php 
foreach ($members as $key => $member) {
    ?>
$col2->close();
$col2 = $ui->col()->width(12)->open();
// $ui->callout()
// 		->uiType("info")
// 		->desc('Enlc : Photocopies of money receipts. Disbursement sheet, Statement of expenditure, Distribution list of Honoraria to faculty and supporting staff of ISM.
// 				')
// 	->show();
$col2->close();
$inputRow2->close();
$tabRow1 = $ui->row()->open();
$innercol2 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->tab("t1", "Details of Receipt", true)->tab("t2", "Credits and Disbursement")->tab("t3", "Net Amount")->tab("t4", "Consultants")->tab("t5", "Supporting Staffs")->open();
$t1 = $ui->tabPane()->id("t1")->active()->open();
/*****************************TAB 1 OPEN*************************************************/
$A_box = $ui->box()->solid()->uiType('primary')->open();
$table_A = $ui->table()->id('table_a')->bordered()->open();
?>
					<tr>
						<td width=70%>Total Charges</td>
							<td><?php 
$ui->input()->type('text')->name('a_total_charges')->id('a_total_charges')->value($form1['total_charge'])->width(12)->required()->show();
?>
							</td>
						</tr>
						<tr>
							<td width=70%>Services Tax + Educational Cess</td>
							<td><?php 
$ui->input()->type('text')->name('a_services_tax')->id('a_services_tax')->value($form1['service_tax'])->width(12)->required()->show();
?>
							</td>
						</tr>
Beispiel #22
0
<pre>
$box = $ui->callout()
          ->title("...")
          ->desc("...")
          ->uiType("danger")
          ->show();
</pre><?php 
$box->close();
$col->close();
$alertsRow->close();
?>
<h2 class="page-header">General Elements</h2><?php 
$buttonsRow = $ui->row()->open();
$col = $ui->col()->width(7)->open();
$buttonBox = $ui->box()->title("Buttons")->open();
$btnTable = $ui->table()->bordered()->open();
?>
            <tr>
            	<th>Normal</th>
                <th>Large<br /><code>large()</code></th>
                <th>Mini<br /><code>mini()</code></th>
                <th>Disabled<br /><code>disabled()</code></th>
            </tr>
            <tr>
            	<td><?php 
$ui->button()->value("Default")->show();
?>
</td>
            	<td><?php 
$ui->button()->value("Default")->large()->show();
?>
    $ui->button()->width(4)->id('dialog_approve')->name('dialog_approve')->uiType('success')->value('Close')->show();
    ?>
        </a>
    </div>
    <?php 
    $test_box->close();
    $test_col->close();
    $test_row->close();
    $row = $ui->row()->open();
    $row1 = $ui->row()->open();
    $margin = $ui->col()->width(1)->open();
    $margin->close();
    $column_left = $ui->col()->width(10)->open();
    $box = $ui->box()->title('Leave Approval Page')->uiType('primary')->solid()->open();
    echo '<center><img src="' . base_url() . 'assets/images/employee/' . $img_path . '"  height="150" /></center><br>';
    $table = $ui->table()->hover()->bordered()->open();
    $name = $this->employee_model->getNameById($emp->id);
    $department = $this->departments_model->getDepartmentById($emp->dept_id)->name;
    $designation = $this->designations_model->getDesignationById($emp->designation)->name;
    ?>
    <tr>
        <th>Name</th>
        <td><?php 
    echo $name;
    ?>
</td>
        <th>Gender</th>
        <td><?php 
    echo ucwords($emp->sex);
    ?>
</td>
$column2 = $ui->col()->width(10)->open();
foreach ($details as $disbursement) {
}
$box = $ui->box()->solid()->uiType('primary')->open();
$inputRow2 = $ui->row()->open();
$col1 = $ui->col()->width(6)->open();
$col1->close();
$col2 = $ui->col()->width(6)->open();
$ui->input()->type('text')->label('CONS')->name('consultancy_no')->id('consultancy_no')->disabled()->value($disbursement->consultancy_no)->width(12)->show();
$col2->close();
$consultancy_no = $disbursement->consultancy_no;
$inputRow2->close();
$ui->callout()->uiType("info")->desc('Enlc : Photocopies of money receipts. Disbursement sheet, Statement of expenditure, Distribution list of Honoraria to faculty and supporting staff of ISM.
				   	')->show();
$A_box = $ui->box()->title('A. Details of Receipt/Payment:')->solid()->uiType('primary')->open();
$table_A = $ui->table()->id('table_a')->bordered()->striped()->sortable()->open();
?>
				<tr>
		<td width=70%>
		Total Charges
		</td>
		<td><?php 
$ui->input()->type('text')->name('a_total_charges')->id('a_total_charges')->value($disbursement->a_total_charge)->width(12)->disabled()->show();
?>
</td>
		</tr>
		<tr>
		<td width=70%>
		Services Tax + Educational Cess
		</td>
		<td><?php 
Beispiel #25
0
<?php

$ui = new UI();
$outer_row = $ui->row()->id('or')->open();
$column1 = $ui->col()->width(12)->t_width(6)->m_width(12)->open();
$box_outter = $ui->box()->id("box_outter")->open();
$table = $ui->table()->id('table')->open();
echo "<tr><th width='50%'>Delete Course</th><th width='50%'>Delete Branch</th></tr>";
echo "<tr><td id = 'td_course'>";
$array_options = array();
$array_options[0] = $ui->option()->value("0")->text("Select Course")->disabled()->selected();
foreach ($result_course as $row) {
    array_push($array_options, $ui->option()->value($row->id)->text($row->name));
}
$ui->select()->label('Select Course')->name('course')->id("course_selection")->containerId("cont_course_selection")->options($array_options)->show();
$ui->button()->value('Delete Course')->uiType('primary')->submit()->id("btn_course")->name('btn_course')->show();
echo "</td>";
echo "<td id = 'td_branch'>";
$array_options = array();
$array_options[0] = $ui->option()->value("0")->text("Select Branch")->disabled()->selected();
foreach ($result_branch as $row) {
    array_push($array_options, $ui->option()->value($row->id)->text($row->name));
}
$ui->select()->label('Select Branch')->name('branch')->id("branch_selection")->containerId("cont_branch_selection")->options($array_options)->show();
$ui->button()->value('Delete Branch')->uiType('primary')->submit()->id("btn_branch")->name('btn_branch')->show();
echo "</td></tr>";
$table->close();
$box_outter->close();
$column1->close();
$outer_row->close();
$col = $ui->col()->open();
switch ($validation_status) {
    case "approved":
        $status = array("ui_type" => "success", "text" => "");
        break;
    case "pending":
        $status = array("ui_type" => "warning", "text" => "Pending for Approval");
        break;
    case "rejected":
        $status = array("ui_type" => "danger", "text" => "Rejected");
        break;
}
$box = $ui->box()->id('show_details')->title('Last 5 Year Stay Details ' . $ui->label()->uiType($status['ui_type'])->text($status['text']))->uiType($status['ui_type'])->open();
$details = count($pending_emp_last5yrstay_details) ? $pending_emp_last5yrstay_details : $emp_last5yrstay_details;
if (count($details)) {
    $table = $ui->table()->id('tbl5')->responsive()->bordered()->striped()->open();
    echo '<thead><tr align="center">
				              	<td rowspan=2 style="vertical-align:middle" ><b>S no.</b></td>
								<td colspan=2 style="vertical-align:middle" ><b>Duration</b></td>
								<td rowspan=2 style="vertical-align:middle" ><b>Residential Address</b></td>
								<td rowspan=2 style="vertical-align:middle" ><b>Name of District Headquarters</b></td>
								<td rowspan=2 style="vertical-align:middle" ><b>Edit/Delete</b></td>
	                    	</tr>
	                    	<tr align="center">
	                        	<td style="vertical-align:middle" ><b>From</b></td>
	                        	<td style="vertical-align:middle" ><b>To</b></td>
	                    	</tr></thead><tbody>';
    $i = 1;
    foreach ($details as $row) {
        echo '<tr name=row[] align="center">
									<td>' . $i . '</td>
    $ui->input()->type('hidden')->id('scope_consultancy1')->name('scope_consultancy1')->value($client->scope_consultancy)->width(12)->show();
    $inputRow1->close();
    $innercol3->close();
    $inputRow1->close();
} else {
    $inputRow1 = $ui->row()->open();
    $ui->input()->label('Scope of work<span style= "color:red;"> *</span>')->type('file')->id('scope_consultancy')->name('scope_consultancy')->required()->width(12)->show();
    echo "(Allowed Types: pdf, doc, docx, jpg, jpeg, png, xls, xlsx, csv and Max Size: 1.0 MB)";
    $innercol2->close();
}
$tab1->close();
$tab2 = $ui->tabPane()->id("testing")->open();
$flag = 2;
$inputRow1 = $ui->row()->open();
$inputRow2 = $ui->col()->width(8)->open();
$table = $ui->table()->hover()->bordered()->sortable()->open();
?>
		<thead>
			<th>No.</th>
			<th></th>
			<th></th>
			
		
		</thead>
	
			<tr>
				<td>1.</td>
				<td>
					<?php 
echo 'Product Development';
?>
Beispiel #28
0
$column2 = $ui->col()->width(12)->open();
?>
<br/>
<div id="move_details_of_sent_files" name='move_details_of_sent_files'>
	
</div>

<br/>

<br/>
<?php 
$column2->close();
$innercol2 = $ui->col()->width(12)->open();
$box = $ui->box()->title('Add Member')->solid()->uiType('primary')->open();
if ($total_rows != 0) {
    $table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
    ?>
						<thead>
							<tr>							
								<th>Member</th>
								<th >Department</th>
								<th> Add</th>							
							</tr>
						</thead>			
<?php 
    $sno = 1;
    while ($sno <= $total_rows) {
        ?>

							<tr>
									<td>
Beispiel #29
0
<?php

$ui = new UI();
$row = $ui->row()->open();
$col = $ui->col()->open();
$box = $ui->box()->id("queryBox")->title('Query By ' . $query_by)->open();
$row1 = $ui->row()->open();
$ui->select()->width(12)->label('Select ' . $query_by)->id('query')->name('display_employee')->options($options)->extras('onChange="ajax(\'' . $query_by . '\');"')->show();
$row1->close();
$row2 = $ui->row()->open();
$col2 = $ui->col()->id("table_container")->open();
$table = $ui->table()->id('display_employee')->bordered()->condensed()->sortable()->paginated()->searchable()->open();
?>
					<thead>
						<tr>
							<th>Employee Id</th>
							<th>Employee Name</th>
						</tr>
					</thead>

					<tfoot>
						<tr>
							<th>Employee Id</th>
							<th>Employee Name</th>
						</tr>
					</tfoot>
					<?php 
$table->close();
$col2->close();
//echo '<div id = "display_employee">''</div>';
$row2->close();