<script>
  import { _ } from "svelte-i18n";
  import TableActions from "../shared/TableActions.svelte";

  export let detailsLink;
  export let detailsAction;
  export let deleteEnabled;
  export let deleteAction;
  export let paymentAction;
</script>

<button
  on:click={paymentAction}
  class="text-[#025a21] hover:text-green-900 mr-4">{$_("enter-payment")}</button
>
<TableActions
  bind:detailsAction
  bind:detailsLink
  bind:deleteAction
  bind:deleteEnabled
/>
