startSection('content'); ?>
where('id_sales',$id)
->where('tahun',date('Y'))
->get();
$sales = DB::table('sales')->where('id',$id)->first();
$year_product = DB::table('target_sales')->where('id_sales',$id)->groupBy('tahun')->get();
?>
Back To List Data Sales
groupBy('tahun')->where('id_sales',Request::segment(4))->get();
?>
Name |
NIK |
Email |
Photo |
Phone 1 |
Phone 2 |
Phone 3 |
Instagram |
Facebook |
Twitter |
nama); ?> |
nik); ?> |
email); ?> |
|
no_telp); ?> |
no_telp_1); ?> |
no_telp_2); ?> |
instagram!=''): ?>
-
|
facebook!=''): ?>
-
|
twitter!=''): ?>
-
|
Month |
Target |
Achievement |
Presentase |
addLoop($__currentLoopData); foreach($__currentLoopData as $t): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
whereMonth('created_at', $t->bulan)
->whereYear('created_at',date('Y'))
->where('status','Delivery Full Filled')
->where('id_sales',$id)
->sum('grand_total');
if($t->target==0){
$persen = ($pencapaian * 100) / 1;
}else{
$persen = ($pencapaian * 100) / $t->target;
}
?>
bulan)); ?> |
Rp target); ?> |
Rp |
% |
popLoop(); $loop = $__env->getLastLoop(); ?>
stopSection(); ?>
make("crudbooster::admin_template", array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>