@if ($viewProposalPermission == 'all' || ($viewProposalPermission == 'added' && user()->id == $proposal->added_by) || ($viewProposalPermission == 'both' && user()->id == $proposal->added_by))
@lang('app.view')
@endif
@if ($proposal->send_status)
@lang('modules.proposal.publicLink')
@endif
@lang('app.download')
@if (!$proposal->signature && $editProposalPermission == 'all' || ($editProposalPermission == 'added' && $proposal->added_by == user()->id))
@lang('app.edit')
@endif
@if ($proposal->status != 'declined')
@lang('app.send')
@endif
@if ($proposal->status != 'declined' && $proposal->send_status == 0)
@lang('app.markSent')
@endif
@if ($addInvoicePermission == 'all' || ($addInvoicePermission == 'added' && user()->id == $proposal->added_by))
@lang('app.create') @lang('app.invoice')
@endif
@if (!$proposal->signature && $deleteProposalPermission == 'all' || ($deleteProposalPermission == 'added' && $proposal->added_by == user()->id))
@lang('app.delete')
@endif