Browse Source

fixed default date for new claim line

Josh 4 years ago
parent
commit
b87e020837

+ 1 - 1
resources/views/app/patient/care-month/_create-claim.blade.php

@@ -121,7 +121,7 @@
                 lines: [
                     {
                         cpt: '',
-                        dateOfService: '{{date('Y-m-d')}}',
+                        dateOfService: '{{date_format($note->created_at, 'Y-m-d')}}',
                         icds: window.rmReasons.map(_x => {
                             return {
                                 code: _x.icd,

+ 2 - 2
resources/views/app/patient/note/_create-claim.blade.php

@@ -129,7 +129,7 @@
                 lines: [
                     {
                         cpt: '',
-                        dateOfService: '{{date('Y-m-d')}}',
+                        dateOfService: '{{$note->created_at}}',
                         icds: JSON.parse(JSON.stringify(window.noteReasons)),
                         numberOfUnits: 1
                     }
@@ -140,7 +140,7 @@
             addLine: function () {
                 this.payload.lines.push({
                     cpt: '',
-                    dateOfService: '{{date('Y-m-d')}}',
+                    dateOfService: '{{date_format($note->created_at, 'Y-m-d')}}',
                     icds: JSON.parse(JSON.stringify(window.noteReasons)),
                     numberOfUnits: 1
                 });

+ 1 - 1
resources/views/app/patient/note/_update-claim.blade.php

@@ -98,7 +98,7 @@
             addLine: function () {
                 this.payload.lines.push({
                     cpt: '',
-                    dateOfService: '{{date('Y-m-d')}}',
+                    dateOfService: '{{date_format($note->created_at, 'Y-m-d')}}',
                     icds: [
                         {
                             code: '',