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

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