Loading module/Oscar/src/Oscar/Service/ProjectGrantApiService.php +202 −207 Original line number Diff line number Diff line Loading @@ -127,7 +127,8 @@ class ProjectGrantApiService implements UseEntityManager, ?Url $urlPlugin = null, ?OscarUserContext $oscarUserContext = null, ?string $perimeters = null ): array { ): array { try { $activity = $this->getActivityRepository()->find($activityId); } catch (\Exception $exception) { Loading @@ -136,8 +137,7 @@ class ProjectGrantApiService implements UseEntityManager, if ($perimeters !== null) { $perimeters = array_intersect(explode(',', $perimeters), $this->getPerimetersKeys()); } else { } else { $perimeters = $this->getPerimetersKeys(); } Loading @@ -155,19 +155,16 @@ class ProjectGrantApiService implements UseEntityManager, if ($credentials['read'] !== true) { $out['error'] = 'access denied'; return $out; } else { } else { $out['credentials'] = $credentials; $out['datas'] = $this->getActivityJsonDatas($activity, $urlPlugin, $perimeters); foreach ($out['datas'] as $key => $content) { if (!array_key_exists($key, $credentials)) { unset($out['datas'][$key]); } else { } else { if ($credentials[$key]['read'] !== true) { unset($out['datas'][$key]); } else { } else { // Traitement des onglets de documents if ($key === 'documents') { foreach ($credentials[$key]['tabs'] as $tabId => $tabAccess) { Loading Loading @@ -209,7 +206,8 @@ class ProjectGrantApiService implements UseEntityManager, Activity $activity, OscarUserContext $oscarUserContext, array $perimeters ): array { ): array { $locked = $activity->isLocked(); $editable = $oscarUserContext->hasPrivileges(Privileges::ACTIVITY_EDIT, $activity); $lockEditable = $oscarUserContext->hasPrivileges(Privileges::ACTIVITY_EDIT_LOCKED, $activity); Loading Loading @@ -419,7 +417,8 @@ class ProjectGrantApiService implements UseEntityManager, Activity $activity, ?Url $urlPlugin = null, ?array $perimeters = null ): array { ): array { $datas = [ "api" => "Oscar Activity API" ]; Loading Loading @@ -536,6 +535,7 @@ class ProjectGrantApiService implements UseEntityManager, 'status' => $activity->getStatus(), 'status_label' => $activity->getStatusLabel(), 'pfi' => $activity->getCodeEOTP(), 'notefinanciere' => $activity->getNoteFinanciere(), 'acronym' => $activity->getAcronym(), 'project' => $project, 'disciplines' => $activity->getDisciplinesArray(), Loading Loading @@ -643,8 +643,7 @@ class ProjectGrantApiService implements UseEntityManager, $allowProcessUpdate = false; $allowProcessDelete = false; $allowDelete = true; } else { } else { $allowProcessDelete = true; $allowDelete = true; } Loading @@ -655,8 +654,7 @@ class ProjectGrantApiService implements UseEntityManager, ['id' => $doc->getId()] ); } } else { } else { $allowProcessCreate = true; } Loading Loading @@ -843,7 +841,8 @@ class ProjectGrantApiService implements UseEntityManager, public function getNotesActivity( Activity $activity, ?Url $urlPlugin = null ): array { ): array { /** @var ActivityNoteRepository $notesActivityRepository */ $notesActivityRepository = $this->getEntityManager()->getRepository(ActivityNote::class); Loading Loading @@ -928,8 +927,7 @@ class ProjectGrantApiService implements UseEntityManager, $roleprincipal = false; $rolelabel = "Rôle inconnu"; $role = null; } else { } else { $roleId = $activityOrganization->getRoleObj()->getId(); $roleprincipal = $activityOrganization->getRoleObj()->isPrincipal(); $rolelabel = $activityOrganization->getRoleObj()->getRoleId(); Loading @@ -940,8 +938,7 @@ class ProjectGrantApiService implements UseEntityManager, if ($class == ActivityOrganization::class) { $context = "activity"; $contextKey = $activityOrganization->getActivity()->getOscarNum(); } else { } else { $context = "project"; $contextKey = $activityOrganization->getProject()->getAcronym(); } Loading Loading @@ -1023,8 +1020,7 @@ class ProjectGrantApiService implements UseEntityManager, $context = "activity"; $contextKey = $activityPerson->getActivity()->getOscarNum(); $idEnroller = $activityPerson->getActivity()->getId(); } else { } else { $urlDelete = $urlPlugin->fromRoute( 'personproject/delete', ['idenroll' => $activityPerson->getId()] Loading Loading @@ -1105,7 +1101,8 @@ class ProjectGrantApiService implements UseEntityManager, public function getTimesheetsActivity( Activity $activity, ?Url $urlPlugin = null ): array { ): array { $out = [ 'enabled' => false, 'informations' => "" Loading @@ -1113,11 +1110,9 @@ class ProjectGrantApiService implements UseEntityManager, if (!$activity->getProject()) { $out['informations'] = "Cette activité doit avoir un projet"; } elseif (!$activity->getProject()->getAcronym()) { } elseif (!$activity->getProject()->getAcronym()) { $out['informations'] = "Le projet de cette activité doit avoir un acronyme"; } else { } else { $out['enabled'] = true; $out['url'] = $urlPlugin->fromRoute('contract/timesheet', ['id' => $activity->getId()]); $out['urlSynthesis'] = $urlPlugin->fromRoute('timesheet/synthesis') . '?activity_id=' . $activity->getId(); Loading Loading @@ -1258,11 +1253,11 @@ class ProjectGrantApiService implements UseEntityManager, private function formatDateTime( ?\DateTime $datetime, string $format = 'Y-m-d H:i:s' ): ?string { ): ?string { if ($datetime === null) { return null; } else { } else { return $datetime->format($format); } } Loading public/js/oscar/vite/dist/assets/Activity-ed5cb27b.css→public/js/oscar/vite/dist/assets/Activity-39e6caf4.css +1 −1 Original line number Diff line number Diff line .confirm-dialog[data-v-efd4eea6]{z-index:10000}.confirm-dialog .overlay-content{h3[data-v-efd4eea6] {border-bottom: thin solid #eee; margin: .25em .5em; padding: .25em .5em;} .overlay-message[data-v-efd4eea6] {font-size: 1.4em;} nav {&[data-v-efd4eea6] {height: 50px; width: 100%; padding: .25em .5em; margin: .25em .5em; border-top: thin solid #eee; display: flex; flex-wrap: wrap; justify-content: space-between; align-content: space-between;} a.btn[data-v-efd4eea6] {}}}.confirm-dialog .overlay-content[data-v-efd4eea6]{flex-basis:30%!important}.disabled[data-v-833d8759]{cursor:not-allowed;color:#aaa;text-decoration:line-through}.change[data-v-833d8759]{border:1px solid #CCC;padding:.3em;margin:.5em 0;border-left:solid #CCC 4px;display:flex}.change>div{span.text[data-v-833d8759] {flex: 0; font-weight: bold; white-space: nowrap;} select[data-v-833d8759],div[data-v-833d8759]{flex: 1;}}.change>i[data-v-833d8759]{flex:0}.change>nav[data-v-833d8759]{flex:0;border-top:solid #CCC 4px;text-align:center}.change>div[data-v-833d8759]{flex:1;display:flex}.avenant{p[data-v-833d8759] {border-top: solid #CCC 1px; padding: .5em 2em;} nav[data-v-833d8759] {padding: .3em 0; border-top: solid #CCC 1px; text-align: center;} .modification[data-v-833d8759] {padding: 0 1em;}}.avenant[data-v-833d8759]{border-left:#CCC 4px solid}.avenant.status-100[data-v-833d8759]{border-color:#ccc}.avenant.status-200[data-v-833d8759]{border-color:#2d7800}.jalon[data-v-42de1793]{background:white;padding:.25em 1em;margin-bottom:.2em}.jalon .main[data-v-42de1793]{display:inline-block;font-size:1.2em;text-align:left;border-bottom:solid thin #ddd;padding:.1em .5em}.jalon.payment[data-v-42de1793]{background:rgba(255,255,255,.7)}.time-value[data-v-42de1793]{font-weight:600}.time-value .ago[data-v-42de1793]{font-weight:100}.list{margin:1em 0}.person-text[data-v-dfc2c1c6]{display:inline-block;position:relative}.person-text .info-bulle[data-v-dfc2c1c6]{display:none}.person-text:hover .info-bulle[data-v-dfc2c1c6]{display:block}.info-bulle{header {&[data-v-dfc2c1c6] {background: #222; display: flex;} .infos {&[data-v-dfc2c1c6] {font-size: 1.25em; padding: 4px .5em 4px .5em; font-weight: 700;} .firstname[data-v-dfc2c1c6] {line-height: 16px; font-size: 16px; color: rgba(255,255,255,.8); font-style: italic;} .lastname[data-v-dfc2c1c6] {color: #fff; line-height: 36px; font-size: 30px;}}} .content {&[data-v-dfc2c1c6] {font-size: .9em; background: #fff; color: #111; padding: .3em 1em;} i[data-v-dfc2c1c6] {color: #999;} > div {&[data-v-dfc2c1c6] {border-bottom: dotted 1px #777;} &[data-v-dfc2c1c6]:last-child {border-bottom: none;}}} footer[data-v-dfc2c1c6] {font-size: .7em; padding: 0 .25em; border-top: 1px solid #DDD; background-color: #EEE; color: #555; text-align: right;}}.info-bulle[data-v-dfc2c1c6]{position:absolute;text-shadow:none;background-color:#000000b3;box-shadow:-4px 4px 8px #0000004d}.workpackage[data-v-7f36a26b]{max-width:31%;margin:1%}.vjs-tree-brackets{cursor:pointer}.vjs-tree-brackets:hover{color:#1890ff}.vjs-check-controller{position:absolute;left:0}.vjs-check-controller.is-checked .vjs-check-controller-inner{background-color:#1890ff;border-color:#0076e4}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-checkbox:after{transform:rotate(45deg) scaleY(1)}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-radio:after{transform:translate(-50%,-50%) scale(1)}.vjs-check-controller .vjs-check-controller-inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:2px;vertical-align:middle;box-sizing:border-box;width:16px;height:16px;background-color:#fff;z-index:1;cursor:pointer;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-check-controller .vjs-check-controller-inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-check-controller .vjs-check-controller-inner.is-radio{border-radius:100%}.vjs-check-controller .vjs-check-controller-inner.is-radio:after{border-radius:100%;height:4px;background-color:#fff;left:50%;top:50%}.vjs-check-controller .vjs-check-controller-original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-carets{position:absolute;right:0;cursor:pointer}.vjs-carets svg{transition:transform .3s}.vjs-carets:hover{color:#1890ff}.vjs-carets-close{transform:rotate(-90deg)}.vjs-tree-node{display:flex;position:relative;line-height:20px}.vjs-tree-node.has-carets{padding-left:15px}.vjs-tree-node.has-carets.has-selector,.vjs-tree-node.has-selector{padding-left:30px}.vjs-tree-node.is-highlight,.vjs-tree-node:hover{background-color:#e6f7ff}.vjs-tree-node .vjs-indent{display:flex;position:relative}.vjs-tree-node .vjs-indent-unit{width:1em}.vjs-tree-node .vjs-indent-unit.has-line{border-left:1px dashed #bfcbd9}.vjs-tree-node.dark.is-highlight,.vjs-tree-node.dark:hover{background-color:#2e4558}.vjs-node-index{position:absolute;right:100%;margin-right:4px;-webkit-user-select:none;user-select:none}.vjs-colon{white-space:pre}.vjs-comment{color:#bfcbd9}.vjs-value{word-break:break-word}.vjs-value-null,.vjs-value-undefined{color:#d55fde}.vjs-value-boolean,.vjs-value-number{color:#1d8ce0}.vjs-value-string{color:#13ce66}.vjs-tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono,monospace;font-size:14px;text-align:left}.vjs-tree.is-virtual{overflow:auto}.vjs-tree.is-virtual .vjs-tree-node{white-space:nowrap}.activity-fiche[data-v-8de60033]{position:relative;padding-bottom:4em}.section-infos[data-v-8de60033]{margin-top:1em;scroll-margin-top:120px}.section-infos:target h2[data-v-8de60033]{-webkit-animation-name:animation-8de60033;-webkit-animation-duration:2s;-webkit-animation-timing-function:ease-in-out;-webkit-animation-iteration-count:1;-webkit-animation-play-state:running;animation-name:animation-8de60033;animation-duration:2s;animation-timing-function:ease-in-out;animation-iteration-count:1;animation-play-state:running}.section-infos>h2[data-v-8de60033]{border-bottom:1px solid #a2a7af;margin:0;padding:.2em 0;display:flex;justify-content:left;justify-content:space-between}@-webkit-keyframes animation-8de60033{0%{color:#333}15.0%{color:#0a53be}30.0%{color:#333}50.0%{color:#0a53be}100.0%{color:#333}}@keyframes animation-8de60033{0%{color:#333}15.0%{color:#0a53be}30.0%{color:#333}50.0%{color:#0a53be}100.0%{color:#333}}.activity-project[data-v-8de60033]{padding:.25em 1em .25em .25em;border-bottom:#eee solid thin}.activity-type[data-v-8de60033]{background:#EEE;padding:.25em 1em .25em .25em}.activity-type .icon-tag[data-v-8de60033]{color:#999}.type-chain span[data-v-8de60033]{font-weight:400}.type-chain span[data-v-8de60033]:last-child{font-weight:700}.type-chain span[data-v-8de60033]:last-child:after{content:""}.type-chain span[data-v-8de60033]{margin:auto}.type-chain span[data-v-8de60033]:after{content:" > ";color:#ccc}.buttons[data-v-8de60033]{padding:1em;text-align:right}header .line-bottom[data-v-8de60033]{border-bottom:#dee2ea thin solid;padding-bottom:1em}header h3[data-v-8de60033]{font-size:1em}header h4[data-v-8de60033]{color:#95afe3}header .texthighlight[data-v-8de60033]{color:#111}header .texthighlight strong[data-v-8de60033],header .texthighlight time[data-v-8de60033]{color:#000}.descriptionPacked[data-v-8de60033]{cursor:pointer;max-height:4em;overflow:hidden}.budget[data-v-8de60033]{border-left:#dee2ea thin solid}.budget .amount[data-v-8de60033]{font-size:1.4em;border-top:solid thin #EEE;border-bottom:solid thin #EEE}.budget .details[data-v-8de60033]{font-size:.8em}.budget .details small[data-v-8de60033]{display:block} .confirm-dialog[data-v-efd4eea6]{z-index:10000}.confirm-dialog .overlay-content{h3[data-v-efd4eea6] {border-bottom: thin solid #eee; margin: .25em .5em; padding: .25em .5em;} .overlay-message[data-v-efd4eea6] {font-size: 1.4em;} nav {&[data-v-efd4eea6] {height: 50px; width: 100%; padding: .25em .5em; margin: .25em .5em; border-top: thin solid #eee; display: flex; flex-wrap: wrap; justify-content: space-between; align-content: space-between;} a.btn[data-v-efd4eea6] {}}}.confirm-dialog .overlay-content[data-v-efd4eea6]{flex-basis:30%!important}.disabled[data-v-833d8759]{cursor:not-allowed;color:#aaa;text-decoration:line-through}.change[data-v-833d8759]{border:1px solid #CCC;padding:.3em;margin:.5em 0;border-left:solid #CCC 4px;display:flex}.change>div{span.text[data-v-833d8759] {flex: 0; font-weight: bold; white-space: nowrap;} select[data-v-833d8759],div[data-v-833d8759]{flex: 1;}}.change>i[data-v-833d8759]{flex:0}.change>nav[data-v-833d8759]{flex:0;border-top:solid #CCC 4px;text-align:center}.change>div[data-v-833d8759]{flex:1;display:flex}.avenant{p[data-v-833d8759] {border-top: solid #CCC 1px; padding: .5em 2em;} nav[data-v-833d8759] {padding: .3em 0; border-top: solid #CCC 1px; text-align: center;} .modification[data-v-833d8759] {padding: 0 1em;}}.avenant[data-v-833d8759]{border-left:#CCC 4px solid}.avenant.status-100[data-v-833d8759]{border-color:#ccc}.avenant.status-200[data-v-833d8759]{border-color:#2d7800}.jalon[data-v-42de1793]{background:white;padding:.25em 1em;margin-bottom:.2em}.jalon .main[data-v-42de1793]{display:inline-block;font-size:1.2em;text-align:left;border-bottom:solid thin #ddd;padding:.1em .5em}.jalon.payment[data-v-42de1793]{background:rgba(255,255,255,.7)}.time-value[data-v-42de1793]{font-weight:600}.time-value .ago[data-v-42de1793]{font-weight:100}.list{margin:1em 0}.person-text[data-v-dfc2c1c6]{display:inline-block;position:relative}.person-text .info-bulle[data-v-dfc2c1c6]{display:none}.person-text:hover .info-bulle[data-v-dfc2c1c6]{display:block}.info-bulle{header {&[data-v-dfc2c1c6] {background: #222; display: flex;} .infos {&[data-v-dfc2c1c6] {font-size: 1.25em; padding: 4px .5em 4px .5em; font-weight: 700;} .firstname[data-v-dfc2c1c6] {line-height: 16px; font-size: 16px; color: rgba(255,255,255,.8); font-style: italic;} .lastname[data-v-dfc2c1c6] {color: #fff; line-height: 36px; font-size: 30px;}}} .content {&[data-v-dfc2c1c6] {font-size: .9em; background: #fff; color: #111; padding: .3em 1em;} i[data-v-dfc2c1c6] {color: #999;} > div {&[data-v-dfc2c1c6] {border-bottom: dotted 1px #777;} &[data-v-dfc2c1c6]:last-child {border-bottom: none;}}} footer[data-v-dfc2c1c6] {font-size: .7em; padding: 0 .25em; border-top: 1px solid #DDD; background-color: #EEE; color: #555; text-align: right;}}.info-bulle[data-v-dfc2c1c6]{position:absolute;text-shadow:none;background-color:#000000b3;box-shadow:-4px 4px 8px #0000004d}.workpackage[data-v-7f36a26b]{max-width:31%;margin:1%}.vjs-tree-brackets{cursor:pointer}.vjs-tree-brackets:hover{color:#1890ff}.vjs-check-controller{position:absolute;left:0}.vjs-check-controller.is-checked .vjs-check-controller-inner{background-color:#1890ff;border-color:#0076e4}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-checkbox:after{transform:rotate(45deg) scaleY(1)}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-radio:after{transform:translate(-50%,-50%) scale(1)}.vjs-check-controller .vjs-check-controller-inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:2px;vertical-align:middle;box-sizing:border-box;width:16px;height:16px;background-color:#fff;z-index:1;cursor:pointer;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-check-controller .vjs-check-controller-inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-check-controller .vjs-check-controller-inner.is-radio{border-radius:100%}.vjs-check-controller .vjs-check-controller-inner.is-radio:after{border-radius:100%;height:4px;background-color:#fff;left:50%;top:50%}.vjs-check-controller .vjs-check-controller-original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-carets{position:absolute;right:0;cursor:pointer}.vjs-carets svg{transition:transform .3s}.vjs-carets:hover{color:#1890ff}.vjs-carets-close{transform:rotate(-90deg)}.vjs-tree-node{display:flex;position:relative;line-height:20px}.vjs-tree-node.has-carets{padding-left:15px}.vjs-tree-node.has-carets.has-selector,.vjs-tree-node.has-selector{padding-left:30px}.vjs-tree-node.is-highlight,.vjs-tree-node:hover{background-color:#e6f7ff}.vjs-tree-node .vjs-indent{display:flex;position:relative}.vjs-tree-node .vjs-indent-unit{width:1em}.vjs-tree-node .vjs-indent-unit.has-line{border-left:1px dashed #bfcbd9}.vjs-tree-node.dark.is-highlight,.vjs-tree-node.dark:hover{background-color:#2e4558}.vjs-node-index{position:absolute;right:100%;margin-right:4px;-webkit-user-select:none;user-select:none}.vjs-colon{white-space:pre}.vjs-comment{color:#bfcbd9}.vjs-value{word-break:break-word}.vjs-value-null,.vjs-value-undefined{color:#d55fde}.vjs-value-boolean,.vjs-value-number{color:#1d8ce0}.vjs-value-string{color:#13ce66}.vjs-tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono,monospace;font-size:14px;text-align:left}.vjs-tree.is-virtual{overflow:auto}.vjs-tree.is-virtual .vjs-tree-node{white-space:nowrap}.activity-fiche[data-v-eb68fbb0]{position:relative;padding-bottom:4em}.section-infos[data-v-eb68fbb0]{margin-top:1em;scroll-margin-top:120px}.section-infos:target h2[data-v-eb68fbb0]{-webkit-animation-name:animation-eb68fbb0;-webkit-animation-duration:2s;-webkit-animation-timing-function:ease-in-out;-webkit-animation-iteration-count:1;-webkit-animation-play-state:running;animation-name:animation-eb68fbb0;animation-duration:2s;animation-timing-function:ease-in-out;animation-iteration-count:1;animation-play-state:running}.section-infos>h2[data-v-eb68fbb0]{border-bottom:1px solid #a2a7af;margin:0;padding:.2em 0;display:flex;justify-content:left;justify-content:space-between}@-webkit-keyframes animation-eb68fbb0{0%{color:#333}15.0%{color:#0a53be}30.0%{color:#333}50.0%{color:#0a53be}100.0%{color:#333}}@keyframes animation-eb68fbb0{0%{color:#333}15.0%{color:#0a53be}30.0%{color:#333}50.0%{color:#0a53be}100.0%{color:#333}}.activity-project[data-v-eb68fbb0]{padding:.25em 1em .25em .25em;border-bottom:#eee solid thin}.activity-type[data-v-eb68fbb0]{background:#EEE;padding:.25em 1em .25em .25em}.activity-type .icon-tag[data-v-eb68fbb0]{color:#999}.type-chain span[data-v-eb68fbb0]{font-weight:400}.type-chain span[data-v-eb68fbb0]:last-child{font-weight:700}.type-chain span[data-v-eb68fbb0]:last-child:after{content:""}.type-chain span[data-v-eb68fbb0]{margin:auto}.type-chain span[data-v-eb68fbb0]:after{content:" > ";color:#ccc}.buttons[data-v-eb68fbb0]{padding:1em;text-align:right}header .line-bottom[data-v-eb68fbb0]{border-bottom:#dee2ea thin solid;padding-bottom:1em}header h3[data-v-eb68fbb0]{font-size:1em}header h4[data-v-eb68fbb0]{color:#95afe3}header .texthighlight[data-v-eb68fbb0]{color:#111}header .texthighlight strong[data-v-eb68fbb0],header .texthighlight time[data-v-eb68fbb0]{color:#000}.descriptionPacked[data-v-eb68fbb0]{cursor:pointer;max-height:4em;overflow:hidden}.budget[data-v-eb68fbb0]{border-left:#dee2ea thin solid}.budget .amount[data-v-eb68fbb0]{font-size:1.4em;border-top:solid thin #EEE;border-bottom:solid thin #EEE}.budget .details[data-v-eb68fbb0]{font-size:.8em}.budget .details small[data-v-eb68fbb0]{display:block} public/js/oscar/vite/dist/assets/activity-60e009f3.js→public/js/oscar/vite/dist/assets/activity-f2d4829d.js +0 −0 File changed and moved.Preview size limit exceeded, changes collapsed. Show changes public/js/oscar/vite/dist/manifest.json +3 −3 Original line number Diff line number Diff line Loading @@ -187,14 +187,14 @@ ] }, "src/Activity.css": { "file": "assets/Activity-ed5cb27b.css", "file": "assets/Activity-39e6caf4.css", "src": "src/Activity.css" }, "src/Activity.js": { "css": [ "assets/Activity-ed5cb27b.css" "assets/Activity-39e6caf4.css" ], "file": "assets/activity-60e009f3.js", "file": "assets/activity-f2d4829d.js", "imports": [ "_vendor.js", "_vendor2.js", Loading ui/src/views/Activity.vue +4 −2 Original line number Diff line number Diff line Loading @@ -429,7 +429,6 @@ :url-sign-document="documents.url_sign_document" /> </section> <section class="section-infos" id="notes" v-if="credentials.notes.read"> <h2><span><i class="icon-comment"></i>Notes</span></h2> <activity-notes Loading Loading @@ -594,9 +593,12 @@ @debug="handlerDebugShow" @update="handlerUpdatePayments" /> <div v-if="core.notefinanciere"> <h3>Note</h3> <blockquote>{{ core.notefinanciere }}</blockquote> </div> </section> <section id="spents" class="section-infos" v-if="credentials.spents.read"> <h2><span><i class="icon-bank"></i>Dépenses</span></h2> <div v-if="!spents.enabled" class="alert alert-warning"> Loading Loading
module/Oscar/src/Oscar/Service/ProjectGrantApiService.php +202 −207 Original line number Diff line number Diff line Loading @@ -127,7 +127,8 @@ class ProjectGrantApiService implements UseEntityManager, ?Url $urlPlugin = null, ?OscarUserContext $oscarUserContext = null, ?string $perimeters = null ): array { ): array { try { $activity = $this->getActivityRepository()->find($activityId); } catch (\Exception $exception) { Loading @@ -136,8 +137,7 @@ class ProjectGrantApiService implements UseEntityManager, if ($perimeters !== null) { $perimeters = array_intersect(explode(',', $perimeters), $this->getPerimetersKeys()); } else { } else { $perimeters = $this->getPerimetersKeys(); } Loading @@ -155,19 +155,16 @@ class ProjectGrantApiService implements UseEntityManager, if ($credentials['read'] !== true) { $out['error'] = 'access denied'; return $out; } else { } else { $out['credentials'] = $credentials; $out['datas'] = $this->getActivityJsonDatas($activity, $urlPlugin, $perimeters); foreach ($out['datas'] as $key => $content) { if (!array_key_exists($key, $credentials)) { unset($out['datas'][$key]); } else { } else { if ($credentials[$key]['read'] !== true) { unset($out['datas'][$key]); } else { } else { // Traitement des onglets de documents if ($key === 'documents') { foreach ($credentials[$key]['tabs'] as $tabId => $tabAccess) { Loading Loading @@ -209,7 +206,8 @@ class ProjectGrantApiService implements UseEntityManager, Activity $activity, OscarUserContext $oscarUserContext, array $perimeters ): array { ): array { $locked = $activity->isLocked(); $editable = $oscarUserContext->hasPrivileges(Privileges::ACTIVITY_EDIT, $activity); $lockEditable = $oscarUserContext->hasPrivileges(Privileges::ACTIVITY_EDIT_LOCKED, $activity); Loading Loading @@ -419,7 +417,8 @@ class ProjectGrantApiService implements UseEntityManager, Activity $activity, ?Url $urlPlugin = null, ?array $perimeters = null ): array { ): array { $datas = [ "api" => "Oscar Activity API" ]; Loading Loading @@ -536,6 +535,7 @@ class ProjectGrantApiService implements UseEntityManager, 'status' => $activity->getStatus(), 'status_label' => $activity->getStatusLabel(), 'pfi' => $activity->getCodeEOTP(), 'notefinanciere' => $activity->getNoteFinanciere(), 'acronym' => $activity->getAcronym(), 'project' => $project, 'disciplines' => $activity->getDisciplinesArray(), Loading Loading @@ -643,8 +643,7 @@ class ProjectGrantApiService implements UseEntityManager, $allowProcessUpdate = false; $allowProcessDelete = false; $allowDelete = true; } else { } else { $allowProcessDelete = true; $allowDelete = true; } Loading @@ -655,8 +654,7 @@ class ProjectGrantApiService implements UseEntityManager, ['id' => $doc->getId()] ); } } else { } else { $allowProcessCreate = true; } Loading Loading @@ -843,7 +841,8 @@ class ProjectGrantApiService implements UseEntityManager, public function getNotesActivity( Activity $activity, ?Url $urlPlugin = null ): array { ): array { /** @var ActivityNoteRepository $notesActivityRepository */ $notesActivityRepository = $this->getEntityManager()->getRepository(ActivityNote::class); Loading Loading @@ -928,8 +927,7 @@ class ProjectGrantApiService implements UseEntityManager, $roleprincipal = false; $rolelabel = "Rôle inconnu"; $role = null; } else { } else { $roleId = $activityOrganization->getRoleObj()->getId(); $roleprincipal = $activityOrganization->getRoleObj()->isPrincipal(); $rolelabel = $activityOrganization->getRoleObj()->getRoleId(); Loading @@ -940,8 +938,7 @@ class ProjectGrantApiService implements UseEntityManager, if ($class == ActivityOrganization::class) { $context = "activity"; $contextKey = $activityOrganization->getActivity()->getOscarNum(); } else { } else { $context = "project"; $contextKey = $activityOrganization->getProject()->getAcronym(); } Loading Loading @@ -1023,8 +1020,7 @@ class ProjectGrantApiService implements UseEntityManager, $context = "activity"; $contextKey = $activityPerson->getActivity()->getOscarNum(); $idEnroller = $activityPerson->getActivity()->getId(); } else { } else { $urlDelete = $urlPlugin->fromRoute( 'personproject/delete', ['idenroll' => $activityPerson->getId()] Loading Loading @@ -1105,7 +1101,8 @@ class ProjectGrantApiService implements UseEntityManager, public function getTimesheetsActivity( Activity $activity, ?Url $urlPlugin = null ): array { ): array { $out = [ 'enabled' => false, 'informations' => "" Loading @@ -1113,11 +1110,9 @@ class ProjectGrantApiService implements UseEntityManager, if (!$activity->getProject()) { $out['informations'] = "Cette activité doit avoir un projet"; } elseif (!$activity->getProject()->getAcronym()) { } elseif (!$activity->getProject()->getAcronym()) { $out['informations'] = "Le projet de cette activité doit avoir un acronyme"; } else { } else { $out['enabled'] = true; $out['url'] = $urlPlugin->fromRoute('contract/timesheet', ['id' => $activity->getId()]); $out['urlSynthesis'] = $urlPlugin->fromRoute('timesheet/synthesis') . '?activity_id=' . $activity->getId(); Loading Loading @@ -1258,11 +1253,11 @@ class ProjectGrantApiService implements UseEntityManager, private function formatDateTime( ?\DateTime $datetime, string $format = 'Y-m-d H:i:s' ): ?string { ): ?string { if ($datetime === null) { return null; } else { } else { return $datetime->format($format); } } Loading
public/js/oscar/vite/dist/assets/Activity-ed5cb27b.css→public/js/oscar/vite/dist/assets/Activity-39e6caf4.css +1 −1 Original line number Diff line number Diff line .confirm-dialog[data-v-efd4eea6]{z-index:10000}.confirm-dialog .overlay-content{h3[data-v-efd4eea6] {border-bottom: thin solid #eee; margin: .25em .5em; padding: .25em .5em;} .overlay-message[data-v-efd4eea6] {font-size: 1.4em;} nav {&[data-v-efd4eea6] {height: 50px; width: 100%; padding: .25em .5em; margin: .25em .5em; border-top: thin solid #eee; display: flex; flex-wrap: wrap; justify-content: space-between; align-content: space-between;} a.btn[data-v-efd4eea6] {}}}.confirm-dialog .overlay-content[data-v-efd4eea6]{flex-basis:30%!important}.disabled[data-v-833d8759]{cursor:not-allowed;color:#aaa;text-decoration:line-through}.change[data-v-833d8759]{border:1px solid #CCC;padding:.3em;margin:.5em 0;border-left:solid #CCC 4px;display:flex}.change>div{span.text[data-v-833d8759] {flex: 0; font-weight: bold; white-space: nowrap;} select[data-v-833d8759],div[data-v-833d8759]{flex: 1;}}.change>i[data-v-833d8759]{flex:0}.change>nav[data-v-833d8759]{flex:0;border-top:solid #CCC 4px;text-align:center}.change>div[data-v-833d8759]{flex:1;display:flex}.avenant{p[data-v-833d8759] {border-top: solid #CCC 1px; padding: .5em 2em;} nav[data-v-833d8759] {padding: .3em 0; border-top: solid #CCC 1px; text-align: center;} .modification[data-v-833d8759] {padding: 0 1em;}}.avenant[data-v-833d8759]{border-left:#CCC 4px solid}.avenant.status-100[data-v-833d8759]{border-color:#ccc}.avenant.status-200[data-v-833d8759]{border-color:#2d7800}.jalon[data-v-42de1793]{background:white;padding:.25em 1em;margin-bottom:.2em}.jalon .main[data-v-42de1793]{display:inline-block;font-size:1.2em;text-align:left;border-bottom:solid thin #ddd;padding:.1em .5em}.jalon.payment[data-v-42de1793]{background:rgba(255,255,255,.7)}.time-value[data-v-42de1793]{font-weight:600}.time-value .ago[data-v-42de1793]{font-weight:100}.list{margin:1em 0}.person-text[data-v-dfc2c1c6]{display:inline-block;position:relative}.person-text .info-bulle[data-v-dfc2c1c6]{display:none}.person-text:hover .info-bulle[data-v-dfc2c1c6]{display:block}.info-bulle{header {&[data-v-dfc2c1c6] {background: #222; display: flex;} .infos {&[data-v-dfc2c1c6] {font-size: 1.25em; padding: 4px .5em 4px .5em; font-weight: 700;} .firstname[data-v-dfc2c1c6] {line-height: 16px; font-size: 16px; color: rgba(255,255,255,.8); font-style: italic;} .lastname[data-v-dfc2c1c6] {color: #fff; line-height: 36px; font-size: 30px;}}} .content {&[data-v-dfc2c1c6] {font-size: .9em; background: #fff; color: #111; padding: .3em 1em;} i[data-v-dfc2c1c6] {color: #999;} > div {&[data-v-dfc2c1c6] {border-bottom: dotted 1px #777;} &[data-v-dfc2c1c6]:last-child {border-bottom: none;}}} footer[data-v-dfc2c1c6] {font-size: .7em; padding: 0 .25em; border-top: 1px solid #DDD; background-color: #EEE; color: #555; text-align: right;}}.info-bulle[data-v-dfc2c1c6]{position:absolute;text-shadow:none;background-color:#000000b3;box-shadow:-4px 4px 8px #0000004d}.workpackage[data-v-7f36a26b]{max-width:31%;margin:1%}.vjs-tree-brackets{cursor:pointer}.vjs-tree-brackets:hover{color:#1890ff}.vjs-check-controller{position:absolute;left:0}.vjs-check-controller.is-checked .vjs-check-controller-inner{background-color:#1890ff;border-color:#0076e4}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-checkbox:after{transform:rotate(45deg) scaleY(1)}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-radio:after{transform:translate(-50%,-50%) scale(1)}.vjs-check-controller .vjs-check-controller-inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:2px;vertical-align:middle;box-sizing:border-box;width:16px;height:16px;background-color:#fff;z-index:1;cursor:pointer;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-check-controller .vjs-check-controller-inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-check-controller .vjs-check-controller-inner.is-radio{border-radius:100%}.vjs-check-controller .vjs-check-controller-inner.is-radio:after{border-radius:100%;height:4px;background-color:#fff;left:50%;top:50%}.vjs-check-controller .vjs-check-controller-original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-carets{position:absolute;right:0;cursor:pointer}.vjs-carets svg{transition:transform .3s}.vjs-carets:hover{color:#1890ff}.vjs-carets-close{transform:rotate(-90deg)}.vjs-tree-node{display:flex;position:relative;line-height:20px}.vjs-tree-node.has-carets{padding-left:15px}.vjs-tree-node.has-carets.has-selector,.vjs-tree-node.has-selector{padding-left:30px}.vjs-tree-node.is-highlight,.vjs-tree-node:hover{background-color:#e6f7ff}.vjs-tree-node .vjs-indent{display:flex;position:relative}.vjs-tree-node .vjs-indent-unit{width:1em}.vjs-tree-node .vjs-indent-unit.has-line{border-left:1px dashed #bfcbd9}.vjs-tree-node.dark.is-highlight,.vjs-tree-node.dark:hover{background-color:#2e4558}.vjs-node-index{position:absolute;right:100%;margin-right:4px;-webkit-user-select:none;user-select:none}.vjs-colon{white-space:pre}.vjs-comment{color:#bfcbd9}.vjs-value{word-break:break-word}.vjs-value-null,.vjs-value-undefined{color:#d55fde}.vjs-value-boolean,.vjs-value-number{color:#1d8ce0}.vjs-value-string{color:#13ce66}.vjs-tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono,monospace;font-size:14px;text-align:left}.vjs-tree.is-virtual{overflow:auto}.vjs-tree.is-virtual .vjs-tree-node{white-space:nowrap}.activity-fiche[data-v-8de60033]{position:relative;padding-bottom:4em}.section-infos[data-v-8de60033]{margin-top:1em;scroll-margin-top:120px}.section-infos:target h2[data-v-8de60033]{-webkit-animation-name:animation-8de60033;-webkit-animation-duration:2s;-webkit-animation-timing-function:ease-in-out;-webkit-animation-iteration-count:1;-webkit-animation-play-state:running;animation-name:animation-8de60033;animation-duration:2s;animation-timing-function:ease-in-out;animation-iteration-count:1;animation-play-state:running}.section-infos>h2[data-v-8de60033]{border-bottom:1px solid #a2a7af;margin:0;padding:.2em 0;display:flex;justify-content:left;justify-content:space-between}@-webkit-keyframes animation-8de60033{0%{color:#333}15.0%{color:#0a53be}30.0%{color:#333}50.0%{color:#0a53be}100.0%{color:#333}}@keyframes animation-8de60033{0%{color:#333}15.0%{color:#0a53be}30.0%{color:#333}50.0%{color:#0a53be}100.0%{color:#333}}.activity-project[data-v-8de60033]{padding:.25em 1em .25em .25em;border-bottom:#eee solid thin}.activity-type[data-v-8de60033]{background:#EEE;padding:.25em 1em .25em .25em}.activity-type .icon-tag[data-v-8de60033]{color:#999}.type-chain span[data-v-8de60033]{font-weight:400}.type-chain span[data-v-8de60033]:last-child{font-weight:700}.type-chain span[data-v-8de60033]:last-child:after{content:""}.type-chain span[data-v-8de60033]{margin:auto}.type-chain span[data-v-8de60033]:after{content:" > ";color:#ccc}.buttons[data-v-8de60033]{padding:1em;text-align:right}header .line-bottom[data-v-8de60033]{border-bottom:#dee2ea thin solid;padding-bottom:1em}header h3[data-v-8de60033]{font-size:1em}header h4[data-v-8de60033]{color:#95afe3}header .texthighlight[data-v-8de60033]{color:#111}header .texthighlight strong[data-v-8de60033],header .texthighlight time[data-v-8de60033]{color:#000}.descriptionPacked[data-v-8de60033]{cursor:pointer;max-height:4em;overflow:hidden}.budget[data-v-8de60033]{border-left:#dee2ea thin solid}.budget .amount[data-v-8de60033]{font-size:1.4em;border-top:solid thin #EEE;border-bottom:solid thin #EEE}.budget .details[data-v-8de60033]{font-size:.8em}.budget .details small[data-v-8de60033]{display:block} .confirm-dialog[data-v-efd4eea6]{z-index:10000}.confirm-dialog .overlay-content{h3[data-v-efd4eea6] {border-bottom: thin solid #eee; margin: .25em .5em; padding: .25em .5em;} .overlay-message[data-v-efd4eea6] {font-size: 1.4em;} nav {&[data-v-efd4eea6] {height: 50px; width: 100%; padding: .25em .5em; margin: .25em .5em; border-top: thin solid #eee; display: flex; flex-wrap: wrap; justify-content: space-between; align-content: space-between;} a.btn[data-v-efd4eea6] {}}}.confirm-dialog .overlay-content[data-v-efd4eea6]{flex-basis:30%!important}.disabled[data-v-833d8759]{cursor:not-allowed;color:#aaa;text-decoration:line-through}.change[data-v-833d8759]{border:1px solid #CCC;padding:.3em;margin:.5em 0;border-left:solid #CCC 4px;display:flex}.change>div{span.text[data-v-833d8759] {flex: 0; font-weight: bold; white-space: nowrap;} select[data-v-833d8759],div[data-v-833d8759]{flex: 1;}}.change>i[data-v-833d8759]{flex:0}.change>nav[data-v-833d8759]{flex:0;border-top:solid #CCC 4px;text-align:center}.change>div[data-v-833d8759]{flex:1;display:flex}.avenant{p[data-v-833d8759] {border-top: solid #CCC 1px; padding: .5em 2em;} nav[data-v-833d8759] {padding: .3em 0; border-top: solid #CCC 1px; text-align: center;} .modification[data-v-833d8759] {padding: 0 1em;}}.avenant[data-v-833d8759]{border-left:#CCC 4px solid}.avenant.status-100[data-v-833d8759]{border-color:#ccc}.avenant.status-200[data-v-833d8759]{border-color:#2d7800}.jalon[data-v-42de1793]{background:white;padding:.25em 1em;margin-bottom:.2em}.jalon .main[data-v-42de1793]{display:inline-block;font-size:1.2em;text-align:left;border-bottom:solid thin #ddd;padding:.1em .5em}.jalon.payment[data-v-42de1793]{background:rgba(255,255,255,.7)}.time-value[data-v-42de1793]{font-weight:600}.time-value .ago[data-v-42de1793]{font-weight:100}.list{margin:1em 0}.person-text[data-v-dfc2c1c6]{display:inline-block;position:relative}.person-text .info-bulle[data-v-dfc2c1c6]{display:none}.person-text:hover .info-bulle[data-v-dfc2c1c6]{display:block}.info-bulle{header {&[data-v-dfc2c1c6] {background: #222; display: flex;} .infos {&[data-v-dfc2c1c6] {font-size: 1.25em; padding: 4px .5em 4px .5em; font-weight: 700;} .firstname[data-v-dfc2c1c6] {line-height: 16px; font-size: 16px; color: rgba(255,255,255,.8); font-style: italic;} .lastname[data-v-dfc2c1c6] {color: #fff; line-height: 36px; font-size: 30px;}}} .content {&[data-v-dfc2c1c6] {font-size: .9em; background: #fff; color: #111; padding: .3em 1em;} i[data-v-dfc2c1c6] {color: #999;} > div {&[data-v-dfc2c1c6] {border-bottom: dotted 1px #777;} &[data-v-dfc2c1c6]:last-child {border-bottom: none;}}} footer[data-v-dfc2c1c6] {font-size: .7em; padding: 0 .25em; border-top: 1px solid #DDD; background-color: #EEE; color: #555; text-align: right;}}.info-bulle[data-v-dfc2c1c6]{position:absolute;text-shadow:none;background-color:#000000b3;box-shadow:-4px 4px 8px #0000004d}.workpackage[data-v-7f36a26b]{max-width:31%;margin:1%}.vjs-tree-brackets{cursor:pointer}.vjs-tree-brackets:hover{color:#1890ff}.vjs-check-controller{position:absolute;left:0}.vjs-check-controller.is-checked .vjs-check-controller-inner{background-color:#1890ff;border-color:#0076e4}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-checkbox:after{transform:rotate(45deg) scaleY(1)}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-radio:after{transform:translate(-50%,-50%) scale(1)}.vjs-check-controller .vjs-check-controller-inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:2px;vertical-align:middle;box-sizing:border-box;width:16px;height:16px;background-color:#fff;z-index:1;cursor:pointer;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-check-controller .vjs-check-controller-inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-check-controller .vjs-check-controller-inner.is-radio{border-radius:100%}.vjs-check-controller .vjs-check-controller-inner.is-radio:after{border-radius:100%;height:4px;background-color:#fff;left:50%;top:50%}.vjs-check-controller .vjs-check-controller-original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-carets{position:absolute;right:0;cursor:pointer}.vjs-carets svg{transition:transform .3s}.vjs-carets:hover{color:#1890ff}.vjs-carets-close{transform:rotate(-90deg)}.vjs-tree-node{display:flex;position:relative;line-height:20px}.vjs-tree-node.has-carets{padding-left:15px}.vjs-tree-node.has-carets.has-selector,.vjs-tree-node.has-selector{padding-left:30px}.vjs-tree-node.is-highlight,.vjs-tree-node:hover{background-color:#e6f7ff}.vjs-tree-node .vjs-indent{display:flex;position:relative}.vjs-tree-node .vjs-indent-unit{width:1em}.vjs-tree-node .vjs-indent-unit.has-line{border-left:1px dashed #bfcbd9}.vjs-tree-node.dark.is-highlight,.vjs-tree-node.dark:hover{background-color:#2e4558}.vjs-node-index{position:absolute;right:100%;margin-right:4px;-webkit-user-select:none;user-select:none}.vjs-colon{white-space:pre}.vjs-comment{color:#bfcbd9}.vjs-value{word-break:break-word}.vjs-value-null,.vjs-value-undefined{color:#d55fde}.vjs-value-boolean,.vjs-value-number{color:#1d8ce0}.vjs-value-string{color:#13ce66}.vjs-tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono,monospace;font-size:14px;text-align:left}.vjs-tree.is-virtual{overflow:auto}.vjs-tree.is-virtual .vjs-tree-node{white-space:nowrap}.activity-fiche[data-v-eb68fbb0]{position:relative;padding-bottom:4em}.section-infos[data-v-eb68fbb0]{margin-top:1em;scroll-margin-top:120px}.section-infos:target h2[data-v-eb68fbb0]{-webkit-animation-name:animation-eb68fbb0;-webkit-animation-duration:2s;-webkit-animation-timing-function:ease-in-out;-webkit-animation-iteration-count:1;-webkit-animation-play-state:running;animation-name:animation-eb68fbb0;animation-duration:2s;animation-timing-function:ease-in-out;animation-iteration-count:1;animation-play-state:running}.section-infos>h2[data-v-eb68fbb0]{border-bottom:1px solid #a2a7af;margin:0;padding:.2em 0;display:flex;justify-content:left;justify-content:space-between}@-webkit-keyframes animation-eb68fbb0{0%{color:#333}15.0%{color:#0a53be}30.0%{color:#333}50.0%{color:#0a53be}100.0%{color:#333}}@keyframes animation-eb68fbb0{0%{color:#333}15.0%{color:#0a53be}30.0%{color:#333}50.0%{color:#0a53be}100.0%{color:#333}}.activity-project[data-v-eb68fbb0]{padding:.25em 1em .25em .25em;border-bottom:#eee solid thin}.activity-type[data-v-eb68fbb0]{background:#EEE;padding:.25em 1em .25em .25em}.activity-type .icon-tag[data-v-eb68fbb0]{color:#999}.type-chain span[data-v-eb68fbb0]{font-weight:400}.type-chain span[data-v-eb68fbb0]:last-child{font-weight:700}.type-chain span[data-v-eb68fbb0]:last-child:after{content:""}.type-chain span[data-v-eb68fbb0]{margin:auto}.type-chain span[data-v-eb68fbb0]:after{content:" > ";color:#ccc}.buttons[data-v-eb68fbb0]{padding:1em;text-align:right}header .line-bottom[data-v-eb68fbb0]{border-bottom:#dee2ea thin solid;padding-bottom:1em}header h3[data-v-eb68fbb0]{font-size:1em}header h4[data-v-eb68fbb0]{color:#95afe3}header .texthighlight[data-v-eb68fbb0]{color:#111}header .texthighlight strong[data-v-eb68fbb0],header .texthighlight time[data-v-eb68fbb0]{color:#000}.descriptionPacked[data-v-eb68fbb0]{cursor:pointer;max-height:4em;overflow:hidden}.budget[data-v-eb68fbb0]{border-left:#dee2ea thin solid}.budget .amount[data-v-eb68fbb0]{font-size:1.4em;border-top:solid thin #EEE;border-bottom:solid thin #EEE}.budget .details[data-v-eb68fbb0]{font-size:.8em}.budget .details small[data-v-eb68fbb0]{display:block}
public/js/oscar/vite/dist/assets/activity-60e009f3.js→public/js/oscar/vite/dist/assets/activity-f2d4829d.js +0 −0 File changed and moved.Preview size limit exceeded, changes collapsed. Show changes
public/js/oscar/vite/dist/manifest.json +3 −3 Original line number Diff line number Diff line Loading @@ -187,14 +187,14 @@ ] }, "src/Activity.css": { "file": "assets/Activity-ed5cb27b.css", "file": "assets/Activity-39e6caf4.css", "src": "src/Activity.css" }, "src/Activity.js": { "css": [ "assets/Activity-ed5cb27b.css" "assets/Activity-39e6caf4.css" ], "file": "assets/activity-60e009f3.js", "file": "assets/activity-f2d4829d.js", "imports": [ "_vendor.js", "_vendor2.js", Loading
ui/src/views/Activity.vue +4 −2 Original line number Diff line number Diff line Loading @@ -429,7 +429,6 @@ :url-sign-document="documents.url_sign_document" /> </section> <section class="section-infos" id="notes" v-if="credentials.notes.read"> <h2><span><i class="icon-comment"></i>Notes</span></h2> <activity-notes Loading Loading @@ -594,9 +593,12 @@ @debug="handlerDebugShow" @update="handlerUpdatePayments" /> <div v-if="core.notefinanciere"> <h3>Note</h3> <blockquote>{{ core.notefinanciere }}</blockquote> </div> </section> <section id="spents" class="section-infos" v-if="credentials.spents.read"> <h2><span><i class="icon-bank"></i>Dépenses</span></h2> <div v-if="!spents.enabled" class="alert alert-warning"> Loading