Exemplo n.º 1
0
 public function expenditure(Request $req)
 {
     $dEnd = $req->input('year') . '-' . $req->input('month');
     $data = ['title' => 'Laporan Pengeluaran Bulanan Material', 'asset' => new Assets(), 'period' => libMonths()[$req->input('month')] . ' ' . $req->input('year'), 'dStart' => date('Y-m', strtotime('-5 months', strtotime($dEnd))), 'dEnd' => $dEnd, 'fetch' => Material::fetchForReport(), 'Pengels' => new Pengels()];
     return view('printing.expenditure', $data);
 }
Exemplo n.º 2
0
 public function expenditure()
 {
     $data = ['title' => 'Form Laporan Pengeluaran Bulanan Material', 'asset' => new Assets(), 'position' => ['report/rawmat/expenditure' => 'Report Pengeluaran Bulanan'], 'opened' => 'report', 'months' => libMonths()];
     return view('report.rawmat.expenditure', $data);
 }
Exemplo n.º 3
0
 public function purchasemonthly()
 {
     $data = ['title' => 'Form Laporan Pembelian Bulanan', 'asset' => new Assets(), 'position' => ['report/purchasing/purchasemonthly' => 'Laporan Pembelian Bulanan'], 'opened' => 'report', 'months' => libMonths()];
     return view('report.purchasing.purchasemonthly', $data);
 }