$ui->input()->type('text')->label('Bank Name and Branch<span style= "color:red;"> *</span>')->name('bank_name')->required()->width(6)->show();
$ui->datePicker()->name('dd_cheque_date')->label('DD/Cheque/Transection Date.<span style= "color:red;"> *</span>')->value(date("yy-mm-dd"))->dateFormat('yy-mm-dd')->width(6)->show();
$inputRow5->close();
$inputRow6 = $ui->row()->open();
$ui->input()->type('text')->label('DD/Cheque/Transection No.<span style= "color:red;"> *</span>')->name('dd_cheque_no')->required()->width(6)->show();
$ui->input()->type('text')->label('DD/Cheque/Transection Amount<span style= "color:red;"> *</span>')->name('dd_cheque_amount')->id('dd_cheque_amount')->required()->width(6)->show();
$inputRow6->close();
$inputRow6 = $ui->row()->open();
$innercol2 = $ui->col()->width(12)->open();
$ui->input()->label('Scan Copy Of DD/Cheque/Transection')->type('file')->name('scope_path')->required()->show();
echo "(Allowed Types: pdf, doc, docx, jpg, jpeg, png, xls, xlsx, csv and Max Size: 1.0 MB)";
$innercol2->close();
$inputRow6->close();
$TCAPD_box->close();
$OAT_box = $ui->box()->title('Objective And Type')->solid()->uiType('primary')->open();
$tabBox1 = $ui->tabBox()->tab("scope", "Scope of consultancy", true)->tab("testing", "Testing Type")->tab("client", "Client Type")->open();
$tab1 = $ui->tabPane()->id("scope")->active()->open();
$flag = 1;
/**scope of consultancy*/
if ($payment_no->payment_no) {
    $inputRow1 = $ui->row()->open();
    $innercol3 = $ui->col()->width(12)->open();
    $inputRow1 = $ui->row()->open();
    echo '<br>&nbsp;&nbsp;';
    $js = 'onclick="javascript:document.getElementById(\'filebox\').style.display=\'block\';"';
    $ui->button()->icon($ui->icon('refresh'))->value('Scope Of Work')->uiType('primary')->extras($js)->width(6)->show();
    echo "&nbsp;&nbsp;";
    echo '<a href="' . base_url() . 'assets/files/consultant/SCOPE_CONSULT/' . $client->scope_consultancy . '" title=
            "download file" download="' . $client->scope_consultancy . '">' . $client->scope_consultancy . '</a>';
    echo "<br/><br/>";
    $inputRow1->close();
                                if ($publications[$i]['edition'] % 10 == 3) {
                                    $str[$type] .= $publications[$i]['edition'] . "rd edition.";
                                } else {
                                    $str[$type] .= $publications[$i]['edition'] . "th edition.";
                                }
                            }
                        }
                    }
                }
            }
        }
        $str[$type] .= "</td></tr>";
    }
}
$column1 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->tab("all", "All", true)->tab("national_journal", "National Journal")->tab("international_journal", "International Journal")->tab("national_conference", "National Conference")->tab("international_conference", "International Conference")->tab("books", "Books")->tab("book_chapter", "Book Chapter")->tab("search", "Search")->open();
$allPublication = $ui->tabPane()->id("all")->active()->open();
echo '<div id="all" >';
?>
<h4><center> All publications of <?php 
echo $own_name;
?>
</center></h4><?php 
$table = $ui->table()->hover()->bordered()->open();
for ($i = 1; $i <= 10; $i++) {
    if ($str[$i] != "") {
        if ($i == 1) {
            ?>
<th colspan="4">National Journal</th><?php 
        } else {
            if ($i == 2) {
Exemple #3
0
<?php

$ui = new UI();
$outer_row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file"))->title("Track File")->tab("sent", "Track Sent Files", true)->tab("track_num_tab", "Track Files by Track Number")->open();
$tab1 = $ui->tabPane()->id("sent")->active()->open();
if ($total_rows != 0) {
    $table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
    ?>
						<thead>
							<tr>
									<th>File No.</th>
									<th>File Subject</th>
									<th>File Track Number</th>
									<th>Sent To</th>
									<th>Sent On</th>
									<th>Current Status</th>
									<th>File Operations</th>
							</tr>
						</thead>
<?php 
    $sno = 1;
    while ($sno <= $total_rows) {
        ?>
						<tr>
							<td><?php 
        if ($data_array[$sno][1]) {
            echo $data_array[$sno][1];
Exemple #4
0
            </p>
<pre>
var $myBox = $("#myBoxId");
$myBox.showLoading();  // This shows the loading gif
...
$myBox.hideLoading()   // This hides the loading gif
</pre>
        <?php 
$ui->callout()->uiType("warning")->desc('<strong>DO NOT</strong> place your scripts directly in the view. Place it in a .js file and link it through the controller.')->show();
$ui->callout()->uiType("info")->desc('View the source of this page to see how loading works Normally, you\'d do this when you\'re loading something asynchronously (via AJAX). For a more concrete example, see the <a href="#">/assets/js/ui_example/user-loader.js</a>')->show();
$box->close();
$col->close();
$loadingBoxRow->close();
$tabsRow = $ui->row()->open();
$col = $ui->col()->width(8)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("th"))->title("Introducing Tabs")->tab("intro", "How it works", true)->tab("abouttitle", $ui->icon("plus") . " More about titles")->tab("settings", $ui->icon('gear'))->open();
$tab1 = $ui->tabPane()->id("intro")->active()->open();
?>
                <h4>Tabs are awesome - an easy to create.</h4>

                    <p>Tabs behave just like <code>Box</code>es. First, open a <code>tabBox</code> as follows:</p>
<pre>
$myTabBox = $ui->tabBox()
               ->tab("tabPaneId1", "Tab Pane's Title", true) // 'true' means active
               ->tab("tabPaneId2", "Tab Pane Title 1")
               ...
               ->tab("tabPaneIdn", "Tab Pane Title n")
               ->open();
</pre>

$column1 = $ui->col()->width(0)->open();
$column1->close();
$column2 = $ui->col()->width(12)->open();
$new_payment = $payment;
?>
<div class="modal-body">
        <center>
        <?php 
$data_row = $ui->row()->id('data_row')->open();
$data_row->close();
?>
   </div>
	<?php 
$column2->close();
$column2 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file-o"))->title("Consultancy Form")->tab("current", "To Be Approved", true)->tab("archived", "Approved")->tab("complete", "Completed")->tab("cancel", "Canceled")->open();
$tab1 = $ui->tabPane()->id("current")->active()->open();
$flag = 1;
// if($count_current_circular != 0){
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
						<thead>
							<tr>
															
								<th>Title</th>
								<th>Posted On/ Edited On</th>
								<th>Revision Status</th>
								<th>Action</th>
								
								<th >Links</th>
								<th >Requested File</th>
Exemple #6
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>
$column1 = $ui->col()->width(1)->open();
$column1->close();
$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();
$tabRow1 = $ui->row()->open();
$tabBox1 = $ui->tabBox()->tab("t1", "Disbursement Sheet", true)->tab("t2", "Consultants")->tab("t3", "Supporting Staffs")->open();
$t1 = $ui->tabPane()->id("t1")->active()->open();
$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 
echo $disbursement->a_total_charge;
?>
</td>
						</tr>
						<tr>
						<td width=70%>Services Tax + Educational Cess</td>
						<td><?php 
echo $disbursement->a_services_tax;
Exemple #8
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>
Exemple #9
0
<?php

$ui = new UI();
$outer_row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file"))->title("Previous Versions of Notice id - " . $prevnotice)->tab("current", "Old Versions", true)->open();
$tab1 = $ui->tabPane()->id("current")->active()->open();
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
						<thead>
							<tr>							
								<th>Notice Number</th>
								<th >Notice Subject</th>							
								<th>Posted On/ Edited On</th>
								<th >Issued By</th>
								<th>Revision Status</th>
								<th >Links</th>
							</tr>
						</thead>
<?php 
foreach ($notices as $key => $notice) {
    ?>
						<tr>
									
									<td align="center"><?php 
    echo $notice->notice_no;
    ?>
</td>
									<td><?php 
Exemple #10
0
<?php

$ui = new UI();
$outer_row = $ui->row()->open();
$column2 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file"))->title("Minutes")->tab("current", "Current Minutes", true)->tab("archived", "Archived Minutes")->open();
$tab1 = $ui->tabPane()->id("current")->active()->open();
$flag = 1;
if ($count_current_minutes != 0) {
    $table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
    ?>
						<thead>
							<tr>							
								<th>Minutes Number</th>
								<th >Meeting Type</th>
								<th >Meeting Date</th>	
								<th >Meeting Place</th>						
								<th>Posted On/ Edited On</th>
								<th >Issued By</th>
								<th>Revision Status</th>
								<th >Links</th>
							</tr>
						</thead>
<?php 
    foreach ($minutes as $key => $minute) {
        ?>
						<tr>
									
									<td align="center"><?php 
        echo $minute->minutes_no;
        ?>
<?php

$ui = new UI();
$outer_row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file"))->title("Previous Versions of Payment No. - " . $details[0]->payment_no)->tab("current", "Old Versions", true)->open();
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
						<thead>
							<tr>							
								
								
								<th>Revision Status</th>
								
								<th >Scan Copy of DD/Cheque/Transection</th>
								<th >Scope of Consultancy</th>	
								<th >View Links</th>
							</tr>

						</thead>
<?php 
foreach ($details as $key => $cons_row) {
    ?>
						<tr>
									
								<td>	
								<?php 
    if ($cons_row->modification_value == 0) {
        echo 'Original';
echo $Casual_balance;
?>
</td>
            </tr>
            <tr>
                <td>Restricted Leave</td>
                <td><?php 
echo $Restricted_balance;
?>
</td>
            </tr>
                          
<?php 
$table->close();
$box->close();
$tabBox1 = $ui->tabBox()->title('Leave Details')->tab("casual_leave", "Casual Leave", true)->tab("restricted_leave", "Restricted Leave", false)->open();
$tab1 = $ui->tabPane()->id("casual_leave")->active()->open();
$table1 = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
            <thead>
                <tr>
                    <th><center>Leave Number</center></th>
                    <th><center>Leave Type</center></th>
                    <th><center>Leave Applied Date</center></th>
                    <th><center>Start Date</center></th>
                    <th><center>End Date</center></th>
                    <th><center>Period</center></th>
                    <th><center>Half/Full</center></th>
                    <th><center>Before Noon/After Noon</center></th>
                    <th><center>Leave Status</center></th>
                </tr>
Exemple #13
0
}
$ui->select()->name('postnamer')->id('postnamer')->addonLeft($ui->icon("building"))->options($postname_array)->required()->show();
$postnamecol->close();
$buttoncol = $ui->col()->width(1)->t_width(2)->m_width(3)->open();
$ui->button()->value('Go')->icon($ui->icon('arrow-right'))->uiType('primary')->id('rangepostsubmit')->name('rangepostsubmit')->show();
$buttoncol->close();
$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>
Exemple #14
0
<?php

$ui = new UI();
$outer_row = $ui->row()->id('or')->open();
$col = $ui->col()->width(12)->t_width(12)->m_width(12)->open();
$tabbox = $ui->tabBox()->tab("tabPanemakeschedule", "Make Schedule", true)->tab("tabPaneschedule", "Existing Schedule")->tab("tabPanesreschedule", "Reschedule Companies")->open();
$tab1 = $ui->tabPane()->id("tabPanemakeschedule")->active()->open();
$box_makeschedule = $ui->box()->id('box_makeschedule_top')->title("Create Schedule")->open();
$form = $ui->form()->id("add_course_form")->action("tnpcell/allot_date/AllotDatesToCompany")->multipart()->open();
$row_lower = $ui->row()->open();
$array_options = array();
array_push($array_options, $ui->option()->extras("value=''")->text("Select Company")->disabled()->selected());
foreach ($company_basic_info as $row) {
    array_push($array_options, $ui->option()->value($row->company_id)->text($row->company_name . " (" . $row->session . ")"));
}
$ui->select()->label("Select Company")->id("ddl_company")->name("ddl_company")->width(12)->options($array_options)->required()->show();
$row_lower->close();
$row_upper = $ui->row()->open();
$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();
Exemple #15
0
<?php

$ui = new UI();
$row = $ui->row()->open();
$eventsCol = $ui->col()->width(8)->open();
$unreadBadge = $unreadNotice > 0 ? '<small class="badge bg-red">' . $unreadNotice . '</small>' : '';
$eventsTabBox = $ui->tabBox()->tab("notices", $ui->icon("info-circle") . " Notices " . $unreadBadge, true)->tab("circulars", $ui->icon("file-text-o") . " Circulars")->tab("minutes", $ui->icon("users") . " Meetings ")->open();
$noticesTab = $ui->tabPane()->id("notices")->active()->open();
?>
                <div id="notices">
                </div>


<!-- <div>
<?php 
foreach ($notices as $key => $notice) {
    ?>

<div class="notice">
    <div class="sender-info">
        <div class="dp">
            <img src="<?php 
    echo base_url() . "assets/images/" . $notice->photopath;
    ?>
" />
        </div>
        <div class="sender">
            <p class="sender-designation"><?php 
    echo ucwords($notice->auth_name);
    ?>
, <?php 
<?php

$ui = new UI();
//	$box = $ui->box()->uiType('primary')->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("list"))->title("Complaint List")->tab("registered_complaints", "Registerd Complaints", true)->tab("closed_complaints", "Closed Complaints")->tab("rejected_complaints", "Rejected Complaints")->tab("all_complaints", "All Complaints")->open();
$tab1 = $ui->tabPane()->id("registered_complaints")->active()->open();
if ($total_rows_under_processing == 0) {
    $ui->callout()->uiType("info")->title("No Complaints Registered.")->desc("")->show();
} else {
    $table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
    ?>
					<thead>		
						<tr>
							<th>Complaint ID</th>
							<th>Registered By</th>
							<th>Registered On</th>
							<th>Location</th>
				<!--			<th>Location Details</th>
							<th>Problem Details</th>
							<th>Remarks</th> -->
						</tr>
					</thead>
<?php 
    $sno = 1;
    while ($sno <= $total_rows_under_processing) {
        ?>
						<tr>
							<td><a href="<?php 
        echo site_url("complaint/complaint_details/details/" . $data_array_under_processing[$sno][1] . "/UnderProcessing");
        ?>
"><?php 
Exemple #17
0
<?php

$ui = new UI();
$outer_row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file"))->title("Notices")->tab("current", "Current Notices", true)->tab("archived", "Archived Notices")->open();
$tab1 = $ui->tabPane()->id("current")->active()->open();
$flag = 1;
if ($count_current_notice != 0) {
    $table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
    ?>
						<thead>
							<tr>							
								<th>Notice Number</th>
								<th >Notice Subject</th>							
								<th>Posted On/ Edited On</th>
								<th >Issued By</th>
								<th>Revision Status</th>
								<th >Links</th>
							</tr>
						</thead>
<?php 
    foreach ($notices as $key => $notice) {
        ?>
						<tr>
									
									<td align="center"><?php 
        echo $notice->notice_no;
        ?>
<?php

$ui = new UI();
$outer_row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file-o"))->title("Previous Versions of Consultancy Form With Title ")->tab("current", "Old Versions", true)->open();
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
						<thead>
							<tr>							
								<th>Consultancy Form Title</th>						
								<th>Posted On/ Edited On</th>
								<th>Revision Status</th>
								<th >Requested File</th>
								<th >View Links</th>
							</tr>
						</thead><?php 
foreach ($details as $row) {
    $mod = $row->modification_value;
    $mod = $mod - 1;
    ?>
						<tr>
							<td align="center"><?php 
    echo $row->consultancy_title;
    ?>
</td>
							<td align="center"><?php 
    echo date('d M Y g:i a', strtotime($row->timestamp1));
    ?>
Exemple #19
0
    if ($emp_validation_details->educational_status == 'pending') {
        $status4 = $pending_status;
    } else {
        if ($emp_validation_details->educational_status == 'rejected') {
            $status4 = $rejected_status;
        }
    }
    if ($emp_validation_details->stay_status == 'pending') {
        $status5 = $pending_status;
    } else {
        if ($emp_validation_details->stay_status == 'rejected') {
            $status5 = $rejected_status;
        }
    }
}
$tabbox = $ui->tabBox()->tab('all', '<br>' . $ui->icon('user') . 'All Details', $step == 5)->tab('basic_details', $status1 . '<br>Basic Details', $step == 0)->tab('prev_emp', $status2 . '<br>Employment Details', $step == 1)->tab('emp_fam', $status3 . '<br>Family Member Details', $step == 2)->tab('emp_edu', $status4 . '<br>Educational Qualifications', $step == 3)->tab('last_five', $status5 . '<br>Stay Details', $step == 4)->open();
$basic = $ui->tabPane()->id('basic_details');
if ($step == 0) {
    $basic->active();
}
$basic->open();
if ($emp) {
    $data['name'] = $emp->salutation . '. ' . ucwords(trim($emp->first_name)) . ' ' . trim(ucwords(trim($emp->middle_name)) . ' ' . ucwords(trim($emp->last_name)));
    $data['department'] = $this->departments_model->getDepartmentById($emp->dept_id)->name;
    $data['designation'] = $this->designations_model->getDesignationById($emp->designation)->name;
    $data['permanent_pretty'] = $permanent_address->line1 . ',<br>' . (trim($permanent_address->line2) == '' ? '' : $permanent_address->line2 . ',<br>') . ucwords($permanent_address->city) . ', ' . ucwords($permanent_address->state) . ' - ' . $permanent_address->pincode . '<br>' . ucwords($permanent_address->country) . '<br>Contact no. ' . $permanent_address->contact_no;
    $data['present_pretty'] = $present_address->line1 . ',<br>' . (trim($present_address->line2) == '' ? '' : $present_address->line2 . ',<br>') . ucwords($present_address->city) . ', ' . ucwords($present_address->state) . ' - ' . $present_address->pincode . '<br>' . ucwords($present_address->country) . '<br>Contact no. ' . $present_address->contact_no;
    if ($emp_validation_details) {
        if ($emp_validation_details->profile_pic_status == 'pending') {
            $ui->callout()->title("Pending" . $ui->label()->uiType('info')->id('pending_pic')->classes('pull-right')->text('Show'))->desc('Profile Picture is not yet validated.<br><img id="pending_photo" src="' . base_url() . 'assets/images/' . $pending_photo . '"  height="150" />')->uiType('info')->show();
        } else {
Exemple #20
0
<?php

$ui = new UI();
$outer_row = $ui->row()->open();
$column2 = $ui->col()->width(12)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file"))->title("Previous Versions of Minutes id - " . $prevminutes)->tab("current", "Old Versions", true)->open();
$tab1 = $ui->tabPane()->id("current")->active()->open();
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
						<thead>
							<tr>							
								<th>Minutes Number</th>
								<th >Meeting Type</th>
								<th >Meeting Date</th>	
								<th >Meeting Place</th>						
								<th>Posted On/ Edited On</th>
								<th >Issued By</th>
								<th>Revision Status</th>
								<th >Links</th>
							</tr>
						</thead>
<?php 
foreach ($minutes as $key => $minute) {
    ?>
						<tr>
									
									<td align="center"><?php 
    echo $minute->minutes_no;
    ?>
</td>
									<td align="center"><?php 
$column2 = $ui->col()->width(10)->open();
$box = $ui->box()->solid()->uiType('primary')->open();
foreach ($details as $disbursement) {
}
$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')->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/resubmit/' . $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')->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)->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();
Exemple #22
0
<?php

$ui = new UI();
$outer_row = $ui->row()->open();
$column1 = $ui->col()->width(1)->open();
$column1->close();
$column2 = $ui->col()->width(10)->open();
$tabBox1 = $ui->tabBox()->icon($ui->icon("file"))->title("Previous Versions of Circular id - " . $prevcircular)->tab("current", "Old Versions", true)->open();
$tab1 = $ui->tabPane()->id("current")->active()->open();
$table = $ui->table()->hover()->bordered()->sortable()->searchable()->paginated()->open();
?>
						<thead>
							<tr>							
								<th>Circular Number</th>
								<th >Circular Subject</th>							
								<th>Posted On/ Edited On</th>
								<th >Issued By</th>
								<th>Revision Status</th>
								<th >Links</th>
							</tr>
						</thead>
<?php 
foreach ($circulars as $key => $circular) {
    ?>
						<tr>
									
									<td align="center"><?php 
    echo $circular->circular_no;
    ?>
</td>
									<td><?php 
$ui->input()->type('text')->label('Consultancy No')->name('consultancy_no')->id('consultancy_no')->value($consultancy_no)->disabled()->show();
$col1 = $ui->col()->width(6)->open();
$ui->input()->type('hidden')->name('sr_no')->id('sr_no')->width(12)->value($sr_no)->show();
$col1->close();
$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 
Exemple #24
0
        if ($emp_validation_details->educational_status == 'rejected') {
            $status4 = $rejected_status;
        }
    }
    if ($emp_validation_details->stay_status == 'pending') {
        $status5 = $pending_status;
    } else {
        if ($emp_validation_details->stay_status == 'rejected') {
            $status5 = $rejected_status;
        }
    }
}
if ($step == -1) {
    $step = 1;
}
$tabbox = $ui->tabBox()->tab('profile_pic', $status0 . '<br>Profile Pic', $step == 0)->tab('basic_details', $status1 . '<br>Basic Details', $step == 1)->tab('prev_emp', $status2 . '<br>Employment Details', $step == 2)->tab('emp_fam', $status3 . '<br>Family Member Details', $step == 3)->tab('emp_edu', $status4 . '<br>Educational Qualifications', $step == 4)->tab('last_five', $status5 . '<br>Stay Details', $step == 5)->open();
$profile_pic = $ui->tabPane()->id('profile_pic');
if ($step == 0) {
    $profile_pic->active();
}
$profile_pic->open();
if ($emp) {
    if ($emp_validation_details) {
        if ($emp_validation_details->profile_pic_status == 'pending') {
            $ui->callout()->title("Pending")->desc("Profile Picture is not yet validated.")->uiType('info')->show();
        } else {
            if ($emp_validation_details->profile_pic_status == 'rejected') {
                $reject = $this->emp_validation_details_model->getRejectReasonWhere(array('id' => $emp_id, 'step' => 0));
                $ui->callout()->title("Rejected")->desc("Please contact the Establishment Section for the same." . ($reject ? "<br>Reason behind rejection : " . $reject->reason : ""))->uiType('danger')->show();
            }
        }