{{--
=====================================================
Etebarit - by Gisoo Web Solutions
------------------------------------------------------
Gisoo.net
------------------------------------------------------
Copyright (c) 2026 Gisoo Web Solutions
=====================================================
This code is protected by copyright
=====================================================
File: payment-links.blade.php
------------------------------------------------------
Use: The merchant's payment-links page: the always-on
open-amount shop link, plus a table of fixed-amount
links to create, edit, enable/disable, copy and delete.
=====================================================
--}}
@extends('layouts.merchant')
@section('title', __('front.shop_links.title'))
@php use App\Support\Format; @endphp
@section('breadcrumb')
{{ __('front.shop_links.subtitle') }}
{{ __('front.shop_links.open_hint') }}
{{ $openUrl }}
{{ __('front.shop_links.open_page') }}
| {{ __('front.shop_links.columns.title') }} | {{ __('front.shop_links.columns.amount') }} | {{ __('front.shop_links.columns.link') }} | {{ __('front.shop_links.columns.uses') }} | {{ __('front.shop_links.columns.status') }} | {{ __('front.shop_links.columns.actions') }} |
|---|---|---|---|---|---|
| {{ $link->title ?: __('front.shop_links.untitled') }} | @toman($link->amount) {{ __('front.shop_links.toman') }} |
{{ $linkUrl }}
|
@if ($link->max_uses === null) {{ __('front.shop_links.uses_unlimited') }} @else {{ __('front.shop_links.uses_of', ['used' => Format::persianDigits((string) $link->used_count), 'max' => Format::persianDigits((string) $link->max_uses)]) }} @endif | $link->is_active, 'bg-[#f2f0f5] text-ink-muted' => ! $link->is_active, ])>{{ $link->is_active ? __('front.shop_links.status_active') : __('front.shop_links.status_inactive') }} |
|
| {{ __('front.shop_links.empty') }} | |||||