Beispiel #1
0
		</div>
		<div class="col-md-6 form-group">
			<?=
				simbanic_textarea('Remark', 'remark', isset($remark) ? $remark : '');
			?>
		</div>
	</div>

	<div class="row">
		<?php
		if($this->ion_auth->is_admin())
		{
			?>
			<div class="col-md-6 form-group">
				<?=
					simbanic_input('Confirm Date', 'confirm_date', isset($confirm_date) && $confirm_date != '01-01-1970' && $confirm_date != '30-11--0001' ? $confirm_date : '', $date_data);
				?>
			</div>
			<?php 
		}
		?>
		<div class="col-md-6 form-group">
			<?php
			if($this->ion_auth->is_admin())
			{
				$payment_status_option = array('Pending' => 'Pending', 'Done' => 'Done');
			}
			else
			{
				$payment_status_option = array('Pending' => 'Pending');
			}
Beispiel #2
0
<?= form_open("product/save"); ?>
	<?php
	if(isset($record))
	{
		echo form_hidden('record', $record);
	}
	?>
	<div class="row">
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('Product Name', 'name', isset($name) ? $name : '');
			?>
		</div>
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('Product Price', 'price', isset($price) ? $price : '');
			?>
		</div>
	</div>

	<div class="row">
		<?php
			$unit_option = array('kilogram' => 'Kilogram', 'gram' => 'Gram');
		?>
		<div class="col-md-6 form-group">
			<?= 
				simbanic_select('Product Unit', 'unit', $unit_option, isset($unit) ? $unit : 'kilogram');
			?>
		</div>
	</div>
	<?php
Beispiel #3
0
			<?=
				simbanic_input('Account No', 'account_no', isset($account_no) ? $account_no : '');
			?>
		</div>
	</div>

	<div class="row">
		
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('IFSC Code', 'ifsc_code', isset($ifsc_code) ? $ifsc_code : '');
			?>
		</div>
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('Transportation', 'transportation', isset($transportation) ? $transportation : '');
			?>
		</div>
	</div>

	<div class="row">
		<?= form_hidden('user_type', 'pharma'); ?>
		<?= form_hidden('group_ids[]', 5); ?>
	</div>
	<?php
	if(isset($record))
	{
		echo form_submit('submit', 'Update', 'class="btn simba_btn green pull-right"');
	}
	else
	{
Beispiel #4
0
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('DL No.', 'dl_no', isset($dl_no) ? $dl_no : '');
			?>
		</div>
	</div>

	<div class="row">
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('Contact Person', 'contact_person', isset($contact_person) ? $contact_person : '');
			?>
		</div>
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('Contact Person Mobile No.', 'contact_person_mobile_no', isset($contact_person_mobile_no) ? $contact_person_mobile_no : '');
			?>
		</div>
	</div>

	<div class="row">
		<?= form_hidden('user_type', 'depot'); ?>
		<?= form_hidden('group_ids[]', 4); ?>
	</div>
	<?php
	if($this->ion_auth->is_admin())
	{
		if(isset($record))
		{
			echo form_submit('submit', 'Update', 'class="btn simba_btn green pull-right"');
		}
Beispiel #5
0
		if(isset($sponsor_id) && !empty($sponsor_id))
		{
			if(isset($full_name) && !empty($full_name))
			{
				$append_sponsor = ' - ' . $full_name;
			}
			else
			{
				$append_sponsor = '';
			}
			$sponsor_option[$sponsor_id] = $sponsor_id;
		}
		?>
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('IFSC Code', 'ifsc_code', isset($ifsc_code) ? $ifsc_code : '');
			?>
		</div>
		<div class="col-md-6 form-group sponsor_div">
			<?= simbanic_select('Sponsor ID', 'sponsor_id', $sponsor_option, isset($sponsor_id) ? $sponsor_id : ''); ?>
		</div>
	</div>

	<div class="row">
		
		<div class="col-md-6 form-group">
			<?= 
				simbanic_select('Customer Type', 'customer_type', $customer_type_option, isset($customer_type) ? $customer_type : 'doctor');
			?>
		</div>
		<div class="col-md-6 form-group">
Beispiel #6
0
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('GST', 'gst', isset($gst) ? $gst : '');
			?>
		</div>
	</div>

	<div class="row">
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('OCTR', 'octr', isset($octr) ? $octr : '');
			?>
		</div>
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('Excise', 'excise', isset($excise) ? $excise : '');
			?>
		</div>
	</div>

	<div class="row">
		<div class="col-md-6 form-group">
			<?=
				simbanic_textarea('Remark', 'remark', isset($remark) ? $remark : '');
			?>
		</div>
	</div>

	<?php
	if(isset($record))
	{
Beispiel #7
0
	<div class="row">
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('Full Name', 'full_name', isset($full_name) ? $full_name : '');
			?>
		</div>
		<div class="col-md-6 form-group">
			<?=
				simbanic_input('Mobile No.', 'mobile_no', isset($mobile_no) ? $mobile_no : '');
			?>
		</div>
	</div>