{"action":"created","issue":{"url":"https://api.github.com/repos/barryvdh/laravel-dompdf/issues/193","repository_url":"https://api.github.com/repos/barryvdh/laravel-dompdf","labels_url":"https://api.github.com/repos/barryvdh/laravel-dompdf/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/barryvdh/laravel-dompdf/issues/193/comments","events_url":"https://api.github.com/repos/barryvdh/laravel-dompdf/issues/193/events","html_url":"https://github.com/barryvdh/laravel-dompdf/issues/193","id":133192823,"number":193,"title":"how can i use  page-break-after: always; for table in laravel ?","user":{"login":"Pravinslk","id":15086125,"avatar_url":"https://avatars.githubusercontent.com/u/15086125?v=3","gravatar_id":"","url":"https://api.github.com/users/Pravinslk","html_url":"https://github.com/Pravinslk","followers_url":"https://api.github.com/users/Pravinslk/followers","following_url":"https://api.github.com/users/Pravinslk/following{/other_user}","gists_url":"https://api.github.com/users/Pravinslk/gists{/gist_id}","starred_url":"https://api.github.com/users/Pravinslk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pravinslk/subscriptions","organizations_url":"https://api.github.com/users/Pravinslk/orgs","repos_url":"https://api.github.com/users/Pravinslk/repos","events_url":"https://api.github.com/users/Pravinslk/events{/privacy}","received_events_url":"https://api.github.com/users/Pravinslk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-12T09:24:41Z","updated_at":"2016-03-07T11:29:06Z","closed_at":null,"body":"im getting error so if i use page-break i can solve this but i don't know how to use i tried many way but it won't work\r\n ```\r\nDOMPDF_Exception in cellmap.cls.php line 244:\r\nFrame not found in cellmap\r\n``` \r\nMy method -\r\n ```\r\npublic function invoice($id){\r\n        $job = Job::find($id);\r\n        $sum = DB::table('charges')\r\n            ->where('job_id', $job->id)\r\n            ->sum('amount');\r\n        $charges = Charge::select('charges.*','consignees.name')\r\n            ->leftJoin('jobs','jobs.id','=','charges.job_id')\r\n            ->leftJoin('consignees','consignees.id','=','jobs.consignee_id')\r\n            ->where('job_id', $job->id)\r\n            ->get();\r\n        $invoice = DB::table('jobs')\r\n            ->where('id',$id)\r\n            ->sum('invoice_value');\r\n        $total = $sum - $invoice ;\r\n        $pdf = \\PDF::loadView('jobs.invoice',compact('job','sum','charges','total'));\r\n        return $pdf->download('invoice.pdf');\r\n    }\r\n```\r\nmy invoice -\r\n```\r\n <tbody>\r\n        <?php $i=0 ?>\r\n        @foreach($charges as $expense)\r\n            <?php $i++ ?>\r\n            <tr>\r\n\r\n                <td class=\"id\">{!! $expense->id !!}</td>\r\n                <td class=\"date\">{!! $expense->date!!}</td>\r\n                <td class=\"charge\">{!! $expense->charge!!}</td>\r\n                <td class=\"cat\">{!! $expense->category!!}</td>\r\n                <td class=\"amount\">{!! $expense->amount!!}</td>\r\n               \r\n            </tr>\r\n\r\n        @endforeach\r\n        <tr>\r\n            <td colspan=\"4\">TOTAL EXPENSES</td>\r\n            <td class=\"total\">{!!  $sum !!}</td>\r\n        </tr>\r\n        <tr>\r\n            <td colspan=\"4\">INVOICE VALUE</td>\r\n            <td class=\"total\">{!! $job->invoice_value!!}</td>\r\n        </tr>\r\n </tbody>\r\n```"},"comment":{"url":"https://api.github.com/repos/barryvdh/laravel-dompdf/issues/comments/193213810","html_url":"https://github.com/barryvdh/laravel-dompdf/issues/193#issuecomment-193213810","issue_url":"https://api.github.com/repos/barryvdh/laravel-dompdf/issues/193","id":193213810,"user":{"login":"Pravinslk","id":15086125,"avatar_url":"https://avatars.githubusercontent.com/u/15086125?v=3","gravatar_id":"","url":"https://api.github.com/users/Pravinslk","html_url":"https://github.com/Pravinslk","followers_url":"https://api.github.com/users/Pravinslk/followers","following_url":"https://api.github.com/users/Pravinslk/following{/other_user}","gists_url":"https://api.github.com/users/Pravinslk/gists{/gist_id}","starred_url":"https://api.github.com/users/Pravinslk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pravinslk/subscriptions","organizations_url":"https://api.github.com/users/Pravinslk/orgs","repos_url":"https://api.github.com/users/Pravinslk/repos","events_url":"https://api.github.com/users/Pravinslk/events{/privacy}","received_events_url":"https://api.github.com/users/Pravinslk/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T11:29:06Z","updated_at":"2016-03-07T11:29:06Z","body":"i tried but i wont work can u compine with my code and give me idea ?"}}