Ejemplo n.º 1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy(Project $project, Invoice $invoice)
 {
     $invoice->delete();
     return response()->json(['success' => true, 'message' => 'Project Invoice Updated']);
 }