public function reportCustomer(PdfLibrary $library)
 {
     $library->load();
     $this->dompdf = new \DOMPDF();
     $partners = Partner::reportCustomer();
     $title = trans('general.customer_report');
     $route = route('reports');
     return $html = view('partners.report', compact('partners', 'title', 'route'));
     $this->dompdf->load_html($html);
     $this->dompdf->get_css();
     $this->dompdf->render();
     $this->dompdf->stream("partners_customer.pdf");
 }