Ejemplo n.º 1
0
 public function getDonationDetails()
 {
     $donations = Donation::get();
     $result = View::make('reports.donationslist', ['donations' => $donations]);
     return PDF::load($result, 'A4', 'portrait')->download();
 }
Ejemplo n.º 2
0
 public function getDonationDetails()
 {
     $donations = Donation::get();
     $result = View::make('reports.donationslist', ['donations' => $donations]);
     return $result;
 }
Ejemplo n.º 3
0
<?php

require_once '../boot.php';
$R = new Donation(array());
$R->get(11571557);
print_r($R->data);