Skip to content

Commit

Permalink
[BF] Identify single member LAGs in welcome email - closes #714
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Sep 15, 2021
1 parent ebd32b6 commit ad98461
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
Colo Cabinet ID: {{$cabinet->name}}
@endif

LAG Port: @if( $vi->physicalinterfaces()->count() > 1 ) Yes, comprising of: @else No @endif
LAG Port: @if( $vi->lag_framing || $vi->physicalinterfaces()->count() > 1 ) Yes, @if( $vi->physicalinterfaces()->count() === 1 )(single member)@endif comprising of: @else No @endif

@foreach( $vi->physicalinterfaces as $pi )

Expand Down
2 changes: 1 addition & 1 deletion resources/views/customer/emails/welcome-email.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
Colo Cabinet ID: {{$vi->cabinet->name}}
@endif

LAG Port: @if( $vi->physicalinterfaces()->count() > 1 ) Yes, comprising of: @else No @endif
LAG Port: @if( $vi->lag_framing || $vi->physicalinterfaces()->count() > 1 ) Yes, @if( $vi->physicalinterfaces()->count() === 1 )(single member)@endif comprising of: @else No @endif

@foreach( $vi->physicalinterfaces as $pi )

Expand Down

0 comments on commit ad98461

Please sign in to comment.