{% extends "templates/web.html" %} {% block title %} {{ doc.project_name }} {% endblock %} {% block head_include %} {% endblock %} {% block header %} <<<<<<< HEAD

{{ doc.project_name }}

=======

{{ doc.project_name }}

>>>>>>> 125a352bc2 (fix: allow all dispatch address for drop ship invoice) {% endblock %} {% block style %} {% endblock %} {% block page_content %} <<<<<<< HEAD {{ progress_bar(doc.percent_complete) }}

Status:

Progress: {{ doc.percent_complete }} %

Hours Spent: {{ doc.actual_time }}

=======
{{ _("Status") }}: {{ _(doc.status) }}
{{ _("Progress") }}: {{ doc.get_formatted("percent_complete") }}
{{ _("Hours Spent") }}: {{ doc.get_formatted("actual_time") }}
>>>>>>> 125a352bc2 (fix: allow all dispatch address for drop ship invoice)
{{ progress_bar(doc.percent_complete) }} <<<<<<< HEAD {% if doc.tasks %}

Tasks

Status

End Date

Assigned To

{% include "erpnext/templates/includes/projects/project_tasks.html" %}
{% else %}

{{ _("No Tasks") }}

{% endif %} =======
{% if doc.tasks %}
{{ _("Tasks") }}
{{ _("Status") }}
{{ _("End Date") }}
{{ _("Assignment") }}
{{ _("Modified On") }}
{% include "erpnext/templates/includes/projects/project_tasks.html" %}
{% else %} {{ empty_state(_("Task")) }} {% endif %}

{{ _("Timesheets") }}

>>>>>>> 125a352bc2 (fix: allow all dispatch address for drop ship invoice) {% if doc.timesheets %}
<<<<<<< HEAD

Timesheets

Status

From

To

Modified By

Modified On

{% include "erpnext/templates/includes/projects/project_timesheets.html" %}
{% else %}

{{ _("No Timesheets") }}

=======
{{ _("Timesheet") }}
{{ _("Status") }}
{{ _("From") }}
{{ _("To") }}
{{ _("Modified By") }}
{{ _("Modified On") }}
{% include "erpnext/templates/includes/projects/project_timesheets.html" %} {% else %} {{ empty_state(_("Timesheet")) }} >>>>>>> 125a352bc2 (fix: allow all dispatch address for drop ship invoice) {% endif %} {% if doc.attachments %}

{{ _("Attachments") }}

{% for attachment in doc.attachments %}
{{ attachment.file_name }}
{{ attachment.file_size }}
{% endfor %}
{% endif %} ======= { % include "frappe/public/js/frappe/provide.js" % } { % include "frappe/public/js/frappe/form/formatters.js" % } >>>>>>> 125a352bc2 (fix: allow all dispatch address for drop ship invoice) {% endblock %} {% macro progress_bar(percent_complete) %} {% if percent_complete %} <<<<<<< HEAD
{% else %}
{% endif %} {% endmacro %} {% macro task_row(task, indent) %}
{% if task.parent_task %} {% endif %} {{ task.subject }}
{{ task.status }}
{% if task.exp_end_date %} {{ task.exp_end_date }} {% else %} -- {% endif %}
{% if task["_assign"] %} {% set assigned_users = json.loads(task["_assign"])%} {% for user in assigned_users %} {% set user_details = frappe.db.get_value("User", user, ["full_name", "user_image"], as_dict = True)%} {% if user_details.user_image %} {% else %}
{{ frappe.utils.get_abbr(user_details.full_name) }}
{% endif %} {% endfor %} {% endif %}
{{ frappe.utils.pretty_date(task.modified) }}
{% if task.children %} {% for child in task.children %} {{ task_row(child, indent + 30) }} {% endfor %} {% endif %} {% endmacro %} ======= {{ _("Project Progress:") }}
{% endif %} {% endmacro %} {% macro empty_state(section_name) %}
Generic Empty State

{{ _("You haven't created a {0} yet").format(section_name) }}

{% endmacro %} >>>>>>> 125a352bc2 (fix: allow all dispatch address for drop ship invoice)