This file contains 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; | |
use Illuminate\Database\Eloquent\Model; | |
use Carbon\Carbon; | |
use App\BillSubDetail; | |
use App\SDDetail; | |
use App\BillDetail; | |
use App\WhTaxType; |
This file contains 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\Property; | |
use App\Http\Controllers\Controller; | |
use Session; | |
use App\PropertyAssets; | |
use Response; | |
use Input; | |
use App\UnitType; | |
use App\PropertyUnit; |
This file contains 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
class ARoom extends Sugo | |
{ | |
private protected $room_a; | |
public function __construct($jilly,$ariel) { | |
$this->jilly; | |
$this->ariel; | |
} | |
public function sex() |
This file contains 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
////////////////////// | |
$cm_header = CmHeader::leftJoin('partners','cm_headers.partner_id','=','partners.id') | |
->select('cm_headers.partner_id as partner_id',DB::Raw('sum(cm_headers.db_total) as total'),'partners.name as partner_name') | |
->whereIn('cm_headers.status',['Approved','Printed']) | |
->where('cm_headers.balance','>', 0) | |
->where('cm_headers.cb',$cb) | |
->where('partners.name','like','%'.$p_name.'%'); | |
->groupBy('cm_headers.partner_id'); | |
->orderBy('partners.name','asc'); |
This file contains 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
$search = Partner::with(['memo' => function($query) use ($cb){ | |
$q = $query->select('partner_id','db_total')->from(with(new CmHeader)->getTable()) | |
->whereIn('status',['Approved','Printed']) | |
->where('balance', '>', 0) | |
->where('cb',$cb); | |
$query->select('partner_id','db_total')->from(with(new DmHeader)->getTable()) | |
->whereIn('status',['Approved','Printed']) | |
->where('balance', '>', 0) | |
->where('cb',$cb) |
This file contains 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
/* | |
ecompact ang input ug array $input_holder | |
*/ | |
function bogart($input_holder){ | |
$where = ''; | |
if($date_from && $date_to){ | |
$where += 'and sd_headers.dr_date >= '.$date_from.' and sd_headers.dr_date <= '.$date_to; | |
} | |
if($category_id){ |
This file contains 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
<script type="text/javascript"> | |
function plus(operator,value){ | |
/* code here*/ | |
return result; | |
} | |
function divide(operator,value){ | |
/* code here*/ |
This file contains 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
/**** sample *****/ | |
function addition(first = 0, second = 0) { | |
var a = parseFloat(first); | |
var b = parseFloat(second); | |
var total = 0; | |
total = a + b; | |
return total; | |
} |
This file contains 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
/**** sample *****/ | |
function addition(first = 0, second = 0) { | |
var a = parseFloat(first); | |
var b = parseFloat(second); | |
var total = 0; | |
total = a + b; | |
return total; | |
} |
This file contains 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
// /**** sample *****/ | |
function addition(first = 0, second = 0) { | |
var a = parseFloat(first); | |
var b = parseFloat(second); | |
var total = 0; | |
total = a + b; | |
return total; | |
} |
OlderNewer