Ver código fonte

Added client header and blocking body.

raman 5 anos atrás
pai
commit
c1dc89df41

+ 10 - 0
app/Helpers/Helper.php

@@ -86,3 +86,13 @@ if(!function_exists('friendly_date_time')) {
         }
     }
 }
+
+
+
+function zFormalName($person){
+    return zImplode(', ', [$person->name_last, $person->name_first]);
+}
+
+function zImplode($glue, $pieces){
+    return implode($glue, array_filter($pieces));
+}

+ 8 - 0
app/Models/Client.php

@@ -41,4 +41,12 @@ class Client extends Model
     public function careMonth(){
         return $this->hasOne(CareMonth::class, 'client_id', 'id');
     }
+
+    public function medicareStatus(){
+        // $this->mcn_reject_reason_code = 'not part b';
+        return true ? true : (
+        // return $this->is_mcn_valid_number ? true : (
+            $this->mcn_reject_reason_code ? false : null
+        );
+    }
 }

+ 2 - 0
resources/views/layouts/pro-logged-in.blade.php

@@ -14,6 +14,8 @@
     <!-- overlayScrollbars -->
     <link rel="stylesheet" href="/AdminLTE-3.0.5/plugins/overlayScrollbars/css/OverlayScrollbars.min.css">
 
+    <link href=/css/z.css rel=stylesheet>
+
     <style>
         .loading-rotate {
             -webkit-animation:spin 0.3s linear infinite;