This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('table.maintable').append('<tbody class="vdetails"><tr>\ | |
<td>\ | |
<input type="checkbox" class="vouchers form-control" name="checkbox" data-ref_id="'+ref+'">\ | |
</td>\ | |
<td></td>\ | |
<td class="for_details">\ | |
<input type="hidden" name="ref[]" class="ref" value="'+ref+'">\ | |
<a class="thname" data-toggle="collapse" data-target="#'+ref+'" href="" onclick="return false;">\ | |
<label style="text-align:center;">PO-'+pad(ref,8)+'</label>\ | |
</a>\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="page" style="display:flex;justify-content:center;align-items:center; position:fixed; bottom: 15px; width: 700px;margin-bottom:10px;" > | |
{!! with(new Illuminate\Pagination\BootstrapThreePresenter($QuotationHeader))->render()!!} | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.add-header').on('click',function(){ | |
var header = $(this).parent().find('#header-name').val(); | |
$('tbody.content').prepend('<tr> \ | |
<td> <div class="groupborder" style="border-color:#333333;">\ | |
<table style="width:100%;" class="tables_details"> \ | |
<th id="groups" data-id="'+headcount+'" style="background-color: #333333; width: 2000px;" > \ | |
<input type="hidden" name="hid[]" class="hid" value=""> \ | |
<label style="display:inline-block;float:left; margin-left:900px; width:60px; color:#FFFFFF;"><strong>Sub-total:</strong></label> \ | |
<label class="head" style="padding-left:8px;margin-bottom:-4px;width:300px;height:20px;display: block; margin-left: -930px; float: left; font-size: 11px;; color:#FFFFFF;">HEADER '+headcount+'</label> \ | |
<input type="text" name="header_name[]" class="edit-input" style="width:300px;height:20px; display: none; margin-left: -930px; float: left; padding-left:5px;" value="HEADER '+headcount+'"/> \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function saveApp(){ | |
$userID = Session::get('user'); | |
if(Input::get('save')){ | |
$header = new AppHeader; | |
$header->app_date = date('Y-m-d', strtotime(Input::get('app_date'))); | |
$header->partner_id = Input::get('partner_id'); | |
$header->branch_id = Input::get('branch_id'); | |
$header->doc_no = Input::get('doc_no'); | |
$header->total = Input::get('grand_amount') + Input::get('grand_ewt'); | |
$header->balance = Input::get('grand_amount') + Input::get('grand_ewt'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.finalize').on('click',function(){ | |
var row = $('.receipts_app tr').filter(':has(:checkbox:checked)').length; | |
var total = parseFloat($('.grandtotal').val()) | |
var type = $('.receipt_type option:selected').val(); | |
var rowEwt = $('.ewt_app tr').filter(':has(:checkbox:checked)').length; | |
var totalEwt = parseFloat($('input.available').val()); | |
if(type == "Payment"){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select id, total_amt, applied_amount, bill_type, balance, bill_headers.partner_id, gross from | |
( | |
(SELECT (sum(sd_headers.vatable_sales) + sum(sd_headers.vat_exempt) + sum(sd_headers.zero_rated) + sum(sd_headers.none) ) as gross, | |
sum(sd_headers.vat_amount) as so_vat_amount, sd_headers.partner_id as partner_id | |
from bill_sub_details LEFT OUTER JOIN sd_headers on bill_sub_details.dr_id = sd_headers.id) | |
UNION ALL | |
(SELECT (sum(project_headers.vatable_sales) + sum(project_headers.vat_exempt) + sum(project_headers.zero_rated) + sum(project_headers.none) ) as gross, | |
sum(project_headers.vat_amount) as proj_vat_amount, project_headers.partner_id as partner_id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
header("Content-type: text/csv"); | |
header("Content-Disposition: attachment; filename=inventoryEvaluationReport.csv"); | |
header("Pragma: no-cache"); | |
header("Expires: 0"); | |
$reports = DB::select("SELECT items.description as Description, SUM(inventoriable_qohs.qoh) as QOH, | |
(SELECT name FROM uoms WHERE items.uom_id = uoms.id) as UOM, items.item_cost as Itemcost | |
FROM inventoriable_qohs JOIN items ON inventoriable_qohs.item_id = items.id | |
WHERE items.inventory_types_id != '1' and items.status = 'Active' | |
GROUP BY inventoriable_qohs.item_id ORDER BY items.description |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers\Booking; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
use App\Http\Controllers\Controller; | |
use App\BookingService; | |
use App\BookingServiceType; | |
use App\BookingTripType; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
else if(Input::get('emp_print')){ | |
PDF::SetTitle('Employee ID'); | |
PDF::SetFont('dejavusans', '', 10); | |
PDF::SetMargins(15, 15, 0, true); | |
//PDF::AddPage('L'); | |
//TCPDF::setEqualColumns(3,0,''); | |
PDF::AddPage(); | |
$id = Input::get('Emp_id'); | |
$info = PatientInfo::where('id',$id)->first(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ANAK: tay ang oten ba sa akong classmate morag sampalok. | |
TATAY: hahaha…ngano man nak? gamay? | |
ANAK: dli …ASLUM.. | |
…nyhahahaha | |
*** | |
SI JUAN NAG BAKASYON SA RESORT..NAGHIGDA-HIGDA SIYA DUOL SA BEACH..UNYA NAAY NI AGI NGA AMERKANO | |
AMERKANO: hey, are u relaxing? | |
JUAN: no..! |
OlderNewer