public function deleteForm($id)
 {
     $form = DeliveryForm::where('id', '=', $id);
     $form->delete();
     //return Redirect::to('/profile/forms');
     return Redirect::back()->withErrors(['msg' => ['Форма удалена!']]);
 }
 public function unreviewed()
 {
     $forms = DeliveryForm::where('admin_confirmed', '=', '0')->get();
     $order = $this->order->where('viewed', '=', '0')->get();
     return '{"orders":"' . count($order) . '", "forms":"' . count($forms) . '"}';
 }