<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$companyname = get_company("name");
$CI =& get_instance();
if(!empty(get_company('isFranchise'))){
	$selectquery = "Select name from ob_contacts where id = '".get_user_data('defaultbId')."'";
	$companyname = $CI->db->query($selectquery)->row_array()['name'];
}
$countryCode = get_company("countryCode");


$lang["Item"] = "Item";

$lang["Qty"] = "Qty";

$lang["Price"] = "Price";

$lang["Amt"] = "Amt";

$lang["TOTAL"] = "TOTAL";

$lang["SNo"] = "S.No";

$lang['pq_text'] = "No";

$lang['pq_date'] = "Date";

$lang['pq_till'] = "Valid Till";

$lang['q_text'] = "No";

$lang['q_date'] = "Date";

$lang['q_till'] = "Valid Till";

$lang['po_text'] = "Order Number";

$lang['po_date'] = "Order Date";

$lang['po_till'] = "Valid Till";

$lang['so_text'] = "Order Number";

$lang['so_date'] = "Order Date";

$lang['so_till'] = "Valid Till";

$lang['pi_text'] = "Bill Number";

$lang['pi_date'] = "Bill Date";

$lang["ItemDescription"] = "Item Description";

$lang["SKU"] = "SKU";
	
$lang["HSN/SAC"] = "HSN/SAC";

$lang["MRP"] = "MRP";

$lang["Rate"] ="Rate";

$lang["Discount"] = "Discount";

$lang["Disc"] = "Disc";

$lang["Tax"] = "Tax";

$lang["Amount"] = "Amount";

$lang["TaxableAmount"] = "Tax. Amount";

$lang["SubTotal"] = "Sub Total";

$lang["AuthorizedSignature"] = "Authorized Signature";

$lang["Received"] = "Received in good condition";

$lang["Billing&Shipping Address"] = "Billing & Shipping Address";

$lang["CustomerSignatureOriginal"] =  "Customer Signature";

$lang["CustomerSignature"] = "Customer Signature";

$lang["FreeQty"] = "Free Qty";

$lang["E&O.E"] = "E & O.E";

$lang["TotalBalance"] = "Total Balance";

$lang["ExistingBalance"] = "Existing Balance";

$lang["Terms"] ="Terms & Conditions";

$lang["PaymentNo"] = "Bill Payment No";

$lang["PaymentDate"] = "Bill Payment Date";

$lang["PaymentMode"] = "Payment Mode";

$lang["Reference"] = "Reference";

$lang["Date"] = "Date";

$lang["TransactionDescription"] = "Transaction Description";

$lang["OurBankDetails"] = "Our Bank Details";

$lang["TDS"] = "TDS";

$lang["SalesRate(AfterDisc)"] = "Sales Rate (After Disc)";

$lang['ReferredBy']	= "Referred By";

$lang['rel_tNo_text']	= "Buyer's Order No#";

$lang['rel_tNo_date']	= "Buyer's Order Date";

$lang['rel_tNo_text_purest']	= "Buyer's Order No#";

$lang['rel_tNo_text_est']	= "Buyer's Order No#";

$lang['rel_tNo_text_so']	= "Buyer's Order No#";

$lang['rel_tNo_text_dc']	= "Buyer's Order No#";

$lang['rel_tNo_text_sc']	= "Buyer's Order No#";

$lang['rel_tNo_text_sd']	= "Buyer's Order No#";

$lang['rel_tNo_text_est_date']	= "Buyer's Order Date";

$lang['rel_tNo_text_pur_est_date']	= "Buyer's Order Date";

$lang['rel_tNo_text_so_date']	= "Buyer's Order Date";

$lang['rel_tNo_text_dc_date']	= "Buyer's Order Date";

$lang['rel_tNo_text_sc_date']	= "Buyer's Order Date";

$lang['rel_tNo_text_sd_date']	= "Buyer's Order Date";

$lang['rel_tNo_text_pc'] = "Supplier Credit No";
			
$lang['rel_tNo_text_pc_date'] = "Supplier Credit Date";
			
$lang['rel_tNo_text_pd'] = "Supplier Debit Note No";
				
$lang['rel_tNo_text_pd_date'] ="Supplier Debit Note Date";
			
$lang['rel_tNo_text_po'] = "Reference No";

$lang['rel_tNo_text_po_date'] = "Reference Date";

$lang['rel_tNo_text_pi'] = "Supplier Inv. No";

$lang['rel_tNo_text_pi_date'] = "Supplier Inv. Date";

$lang['rel_tNo_text_exp'] = "Supplier Invoice No";

$lang['rel_tNo_text_exp_date'] = "Supplier Invoice Date";

$lang["Payment"] = "Payment";

$lang["DueAmount"] = "Due Amount";

$lang["TaxableValue"] = "Taxable Value";

$lang["Phone"] = "Phone";

$lang["Mobile"] ="Mobile";

$lang["GSTIN"] = "GSTIN";
$lang["MSME"] = "MSME/Udyam";
$lang["Cash"] = "Cash :";

$lang["Cashtendered"] = "Cash tendered :";

if(!empty($countryCode) && $countryCode != 'IN') {	
	
	$lang["GSTIN"] = "VAT No";
}

$lang["Email"] = "Email";

$lang["Supplier"] = "Supplier / Vendor";

$lang["Issued"] ="Issued to";

$lang["POS"] ="POS";

$lang["SOS"] ="SOS";

$lang["ChallanType"] ="Challan Type";

$lang["BillingAddress"]= "Billing Address";

$lang["ShippingAddress"]= "Shipping Address";

$lang['SaleRate'] = 'Sale Rate';

$lang["Billing"] = "Billing ";

$lang["Address"] = " Address :";

$lang["Shipping"] = "& Shipping";

$lang["Notes"] = "Notes";

$lang["TotalSavings"] = "Total Savings";

$lang["BillNo"] = "Bill No";

$lang["OrdNo"] = "Ord No";

$lang["OrdDt"] ="Ord Dt";

$lang["PaymentMode"] = "Payment Mode";

$lang["RoundOff"] ="Round Off";

$lang["ForcompanyName"] = "For ".$companyname;

$lang["For"] ="For";

$lang["CompanyName"] = $companyname;

$lang["companyName"] = $companyname;
//Receipt Template

$lang["ReceiptNo"] = "Receipt No :";

$lang["Date"] = "Date :";

$lang["AmountReceivedfrom"] = "Amount Received from";
			
$lang["AmountReceivedinwords"] = "Amount Received in words";

$lang["AmountReceived"] = "Amount Received";

$lang["PaymentMode"] = "Payment Mode";

$lang["Reference"] = "Reference";

$lang["Thanks"] = "With Thanks!";

$lang["Account Name"] = "Account Name";

$lang["IFSC Code"] = "IFSC Code";

$lang["Bank"] = "Bank";

$lang["Branch"] = "Branch";

$lang["Swift Code"] = "Swift Code";

$lang["Correspondent Bank"]  = "Correspondent Bank";

$lang["AD Code"] = "AD Code";

$lang["Account No"] = "Account No";

$lang["DepositA/c"] = "Deposit A/C";

$lang["Paymentfor"] = "Payment For";

$lang["AmtReceived"] = "Amt Received";

$lang["BCR_itemName"] = "";
$lang["BCR_SKU"] = "SKU : ";
$lang["BCR_MRP"] = "MRP : ";
$lang["BCR_RATE"] = "Rate : ";
$lang["BCR_Batch"] = "Batch : ";
$lang["BCR_Mfg.Date"] = "Mfg.Date : ";
$lang["BCR_Exp.Date"] = "Exp.Date : ";
$lang["BCR_Manufacturer"] = "Mfg : ";

if (is_readable(APPPATH . 'language/english/client_lang.php'))
{
	include(APPPATH . 'language/english/client_lang.php');
}

