?
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/application/views/inventory/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/rms/application/views/inventory/add_vendor_payment.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $vendor=$this->mastermodel->getdatas('vendor','vendor_id','','vendor_id'); $mode=$this->mastermodel->getenumvalues('lease_payment_details', 'lease_payment_mode'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('inventory','viewininventorysearch','search_vendor_payment','view_vendor_payment','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating new Vendor Payment</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('inventory/addininventory/insert_vendor_payment/view_vendor_payment/1',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label> Vendor Name </label> <div> <select name="vendor_payment_vendor_id" class="required"> <option>Select</option> <?php foreach($vendor as $row) { ?> <option value="<?=$row['vendor_id']?>"><?=$row['vendor_name']?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label> Date </label> <div> <input name="vendor_payment_date" id="date" type="dateonly" class="required"> </div> </div> <div class="section _100"> <label> Amount</label> <div> <input type="text" name="vendor_payment_amount" id="vendor_payment_amount"> </div> </div> <div class="section _100"> <label> Payment Mode </label> <div> <select name="vendor_payment_type" id="vendor_payment_type" class="required chzn-done"> <option value="">Select</option> <?php if(count($mode['val'])>0) { foreach ($mode['val'] as $method) { ?> <option value="<?=$method?>"><?=$method?></option> <?php } } ?> </select> </div> </div> <div class="section _100"> <label> Remarks</label> <div> <textarea name="vendor_payment_remarks" id="vendor_payment_remarks"></textarea> </div> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close();?>